Ticket #45300: patch-tests.2.diff
File patch-tests.2.diff, 1.5 KB (added by RJVB (René Bertin), 10 years ago) |
---|
-
server/tests/unittest/CMakeLists.txt
old new 71 71 72 72 add_server_test(partstreamertest.cpp akonadiprivate) 73 73 74 add_server_test(akappendhandlertest.cpp akonadiprivate)74 #add_server_test(akappendhandlertest.cpp akonadiprivate) 75 75 add_server_test(linkhandlertest.cpp akonadiprivate) 76 76 add_server_test(listhandlertest.cpp akonadiprivate) 77 77 add_server_test(modifyhandlertest.cpp akonadiprivate) -
CMakeLists.txt
old new 27 27 include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src) 28 28 include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src/handler) 29 29 include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src/nepomuk) 30 include_directories(${CMAKE_CURRENT_SOURCE_DIR}/tests) 30 if(AKONADI_BUILD_TESTS AND BUILD_TESTING) 31 include_directories(${CMAKE_CURRENT_SOURCE_DIR}/tests) 32 endif(AKONADI_BUILD_TESTS AND BUILD_TESTING) 31 33 include_directories(${Akonadi_SOURCE_DIR}/shared) 32 34 if(Soprano_FOUND) 33 35 include_directories(${SOPRANO_INCLUDE_DIR}) … … 64 66 add_subdirectory(akonadictl) 65 67 add_subdirectory(control) 66 68 add_subdirectory(src) 67 add_subdirectory(tests) 69 if(AKONADI_BUILD_TESTS AND BUILD_TESTING) 70 add_subdirectory(tests) 71 endif(AKONADI_BUILD_TESTS AND BUILD_TESTING) 68 72 69 73 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${_ENABLE_EXCEPTIONS}") 70 74 if(MYSQLD_EXECUTABLE)