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 dde9c6c commit b961157Copy full SHA for b961157
CMakeLists.txt
@@ -142,7 +142,7 @@ target_compile_definitions(scratchcpp PRIVATE LIBSCRATCHCPP_VERSION_PATCH=${PROJ
142
target_link_libraries(scratchcpp PRIVATE scratchcpp-test-export)
143
144
if (LIBSCRATCHCPP_BUILD_UNIT_TESTS)
145
- target_compile_definitions(scratchcpp PRIVATE LIBSCRATCHCPP_TEST)
+ target_compile_definitions(scratchcpp-test-export INTERFACE LIBSCRATCHCPP_TEST)
146
147
enable_testing()
148
add_subdirectory(test)
0 commit comments