Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Ulmer committed Oct 3, 2024
2 parents f419a7b + 397df45 commit 8d63096
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ ENDFUNCTION()
FUNCTION(ADD_DEPS target_directory)
IF(EXISTS ${target_directory}/deps.txt)
GET_FILENAME_COMPONENT(target_name ${target_directory} NAME)
# ADD_DEPENDENCIES(${target_name} ${target_directory}/deps.txt)
FILE(READ ${target_directory}/deps.txt dependencies)
STRING(REPLACE "\n" ";" dependencies ${dependencies})
FOREACH(dependency ${dependencies})
Expand Down Expand Up @@ -97,7 +96,7 @@ FOREACH(test_type_dir ${test_types})
ENDFOREACH()
ELSEIF(${test_type} MATCHES criterion)
FIND_LIBRARY(lib_criterion criterion)
FILE(GLOB criterion_sources ${test_target_dir}/*.cpp)
FILE(GLOB criterion_sources ${test_target_dir}/*.cpp ${test_target_dir}/*.c)
ADD_EXECUTABLE(${test_target} EXCLUDE_FROM_ALL ${criterion_sources} )
TARGET_LINK_LIBRARIES(${test_target} ${lib_criterion})
ADD_DEPS(${test_target_dir})
Expand Down

0 comments on commit 8d63096

Please sign in to comment.