You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
474 B
17 lines
474 B
2 years ago
|
tribits_subpackage(StaticOnly)
|
||
|
|
||
|
tribits_include_directories(${CMAKE_CURRENT_SOURCE_DIR})
|
||
|
|
||
|
tribits_add_library(
|
||
|
static_only_lib
|
||
|
STATIC
|
||
|
HEADERS StaticOnly.hpp
|
||
|
SOURCES StaticOnly.cpp
|
||
|
)
|
||
|
# NOTE: The library static_only_lib will be lined against the library
|
||
|
# shared_only_lib from the upstream subpackage SharedOnly. It is just fine
|
||
|
# to link a static library against an upstream shared library but the
|
||
|
# opposite is not true.
|
||
|
|
||
|
tribits_subpackage_postprocess()
|