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 f62419d commit 1bee95aCopy full SHA for 1bee95a
src/Tests.cmake
@@ -31,8 +31,13 @@ function(_configure_target target_name type)
31
add_executable(${target_name})
32
set(scope PRIVATE)
33
elseif(${type} STREQUAL "test_config")
34
- add_library(${target_name} INTERFACE)
35
- set(scope INTERFACE)
+ if(args_SOURCES)
+ add_library(${target_name} STATIC)
36
+ set(scope PUBLIC)
37
+ else()
38
+ add_library(${target_name} INTERFACE)
39
+ set(scope INTERFACE)
40
+ endif()
41
endif()
42
43
target_sources(${target_name}
0 commit comments