X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=tests%2Fvv%2FCMakeLists.txt;h=3707d77fe5a92336d862613ea51b2e28d5c1b411;hb=f3c961676689a38cca96888462ddb9689d9e0217;hp=492e8f7c84a605a00a4082fa8b9df91307c593b1;hpb=49ae46d2b5aed3962b711b76b93ebb739baa1d30;p=clitk.git diff --git a/tests/vv/CMakeLists.txt b/tests/vv/CMakeLists.txt index 492e8f7..3707d77 100644 --- a/tests/vv/CMakeLists.txt +++ b/tests/vv/CMakeLists.txt @@ -1,21 +1,19 @@ include_directories( ${PROJECT_SOURCE_DIR}/vv ${PROJECT_BINARY_DIR}/vv - ${QT_INCLUDES} - ${QT_INCLUDE_DIR} ${QT_QTGUI_INCLUDE_DIR} ${QT_QTCORE_INCLUDE_DIR} ${QT_QTNETWORK_INCLUDE_DIR} + ${QT_QTCORE_INCLUDE_DIR}/../ ${PROJECT_SOURCE_DIR}/common ${PROJECT_SOURCE_DIR}/tools ${PROJECT_SOURCE_DIR}/segmentation ${QT_LIBRARY_DIR} ${GTEST_DIR}/include ) - FILE(GLOB srcs *.cxx) ADD_EXECUTABLE(vvTest ${srcs}) -target_link_libraries(vvTest vvLib ${vvExternalLibs} gtest) +target_link_libraries(vvTest vvLib gtest) # Add all tests found in the source code, calling the executable to run them add_google_tests ( ${EXECUTABLE_OUTPUT_PATH}/vvTest ${srcs})