We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba59800 commit 2c2035aCopy full SHA for 2c2035a
CMakeLists.txt
@@ -70,6 +70,5 @@ endif()
70
option(BUILD_TESTS "Build tests" OFF)
71
72
if(BUILD_TESTS)
73
- add_executable(dmath_test tests/main.c)
74
- target_link_libraries(dmath_test dmath)
+ add_executable(dmath_test tests/main.c $<TARGET_OBJECTS:dmath>)
75
endif()
0 commit comments