Changeset View
Changeset View
Standalone View
Standalone View
plugins/subversion/3rdparty/CMakeLists.txt
Show All 21 Lines | 1 | add_library(kdevsvncpp STATIC | |||
---|---|---|---|---|---|
22 | kdevsvncpp/status.cpp | 22 | kdevsvncpp/status.cpp | ||
23 | kdevsvncpp/status_selection.cpp | 23 | kdevsvncpp/status_selection.cpp | ||
24 | kdevsvncpp/targets.cpp | 24 | kdevsvncpp/targets.cpp | ||
25 | kdevsvncpp/url.cpp | 25 | kdevsvncpp/url.cpp | ||
26 | kdevsvncpp/wc.cpp | 26 | kdevsvncpp/wc.cpp | ||
27 | ) | 27 | ) | ||
28 | set_property(TARGET kdevsvncpp PROPERTY POSITION_INDEPENDENT_CODE ON) | 28 | set_property(TARGET kdevsvncpp PROPERTY POSITION_INDEPENDENT_CODE ON) | ||
29 | if (CMAKE_CXX_COMPILER_ID MATCHES "Clang") | 29 | if (CMAKE_CXX_COMPILER_ID MATCHES "Clang") | ||
30 | target_compile_options(kdevsvncpp PRIVATE "-Wno-documentation") | 30 | add_target_compile_flag_if_supported(kdevsvncpp PRIVATE "-Wno-documentation") | ||
31 | endif() | 31 | endif() | ||
32 | target_include_directories(kdevsvncpp | 32 | target_include_directories(kdevsvncpp | ||
33 | PRIVATE kdevsvncpp | 33 | PRIVATE kdevsvncpp | ||
34 | ) | 34 | ) | ||
35 | target_include_directories(kdevsvncpp SYSTEM | 35 | target_include_directories(kdevsvncpp SYSTEM | ||
36 | INTERFACE ${CMAKE_CURRENT_SOURCE_DIR} | 36 | INTERFACE ${CMAKE_CURRENT_SOURCE_DIR} | ||
37 | PUBLIC ${SUBVERSION_INCLUDE_DIRS} | 37 | PUBLIC ${SUBVERSION_INCLUDE_DIRS} | ||
38 | ) | 38 | ) | ||
39 | target_link_libraries(kdevsvncpp | 39 | target_link_libraries(kdevsvncpp | ||
40 | ${SUBVERSION_LIBRARIES} | 40 | ${SUBVERSION_LIBRARIES} | ||
41 | ) | 41 | ) |