Make sure helper libraries get built as static libs
Make sure helper libraries get built as static libs regardless of the cmake version being used. This fixes issue 217. Signed-off-by: Bernhard Rosenkränzer <bero@lindev.ch>
This commit is contained in:
parent
e10a5fd0a5
commit
ee4d0b9c49
10 changed files with 12 additions and 9 deletions
2
external/xdg/CMakeLists.txt
vendored
2
external/xdg/CMakeLists.txt
vendored
|
|
@ -11,7 +11,7 @@ include_directories(
|
|||
${Boost_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
add_library(xdg xdg.cpp)
|
||||
add_library(xdg STATIC xdg.cpp)
|
||||
set_property(TARGET xdg PROPERTY CXX_STANDARD 11)
|
||||
target_link_libraries(xdg ${Boost_LIBRARIES})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue