diff --git a/CMakeLists.txt b/CMakeLists.txt index 498b795..4aec8b5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,13 +19,13 @@ endif(!CHECK_LIBRARY) CHECK_INCLUDE_FILES(confuse.h HAVE_LIBCONFUSE) MACRO(CREATE_CHECK NAME) - ADD_EXECUTABLE(${NAME} ${NAME}) + ADD_EXECUTABLE(${NAME} ${NAME}.c) TARGET_LINK_LIBRARIES(${NAME} -lcheck ${COMMON_LIBRARIES}) ADD_TEST(${NAME} ${NAME}) ENDMACRO(CREATE_CHECK) MACRO(CREATE_CHECK_OPT NAME OPT) - ADD_EXECUTABLE(${NAME} ${NAME}) + ADD_EXECUTABLE(${NAME} ${NAME}.c) TARGET_LINK_LIBRARIES(${NAME} -lcheck ${COMMON_LIBRARIES}) ADD_TEST(${NAME} ${NAME} ${OPT}) ENDMACRO(CREATE_CHECK_OPT)