Fix linking error for test_stl with GCC
This commit is contained in:
parent
9ec37f9a88
commit
45fdf31289
@ -293,6 +293,7 @@ add_executable(
|
|||||||
|
|
||||||
if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_CLANG)
|
if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_CLANG)
|
||||||
target_link_libraries(test_internal m) # -lm
|
target_link_libraries(test_internal m) # -lm
|
||||||
|
target_link_libraries(test_stl m) # -lm
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_test(test_internal test_internal)
|
add_test(test_internal test_internal)
|
||||||
|
Loading…
Reference in New Issue
Block a user