tests: fix link error on Linux target (test_core)
This commit is contained in:
parent
6e3a30bd8f
commit
588da83012
@ -63,6 +63,7 @@ endif()
|
|||||||
|
|
||||||
# For some targets, GCC and Clang requires -lm
|
# For some targets, GCC and Clang requires -lm
|
||||||
if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_CLANG)
|
if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_CLANG)
|
||||||
|
target_link_libraries(test_core m)
|
||||||
target_link_libraries(test_internal m)
|
target_link_libraries(test_internal m)
|
||||||
target_link_libraries(test_stl m)
|
target_link_libraries(test_stl m)
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user