1 SET(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/CMakeModules/")
2 FIND_PACKAGE(LIBSEX REQUIRED)
5 IF(CPPUNIT_FOUND AND LIBSEX_FOUND)
6 INCLUDE_DIRECTORIES(${CPPUNIT_INCLUDE_DIR})
8 FILE(GLOB_RECURSE files "*.cxx")
9 ADD_EXECUTABLE(tests ${files})
10 TARGET_LINK_LIBRARIES(
16 ADD_CUSTOM_TARGET(check tests)