[CMake] Add header gsl_algorithm to "add_gsl_test" function

This commit is contained in:
MikeGitb 2016-12-09 22:48:51 +01:00
parent 1a94e77910
commit 385258ed46

View File

@ -33,7 +33,7 @@ else()
endif() endif()
function(add_gsl_test name) function(add_gsl_test name)
add_executable(${name} ${name}.cpp ../gsl/gsl ../gsl/gsl_assert ../gsl/gsl_util ../gsl/multi_span ../gsl/span ../gsl/string_span) add_executable(${name} ${name}.cpp ../gsl/gsl ../gsl/gsl_assert ../gsl/gsl_util ../gsl/multi_span ../gsl/span ../gsl/string_span ../gsl/gsl_algorithm)
target_link_libraries(${name} UnitTest++) target_link_libraries(${name} UnitTest++)
add_test( add_test(
${name} ${name}