- updated to 4.5.20
[packages/belr.git] / belr-static.patch
CommitLineData
f0670c68
JB
1--- belr-4.5.15/src/CMakeLists.txt.orig 2020-10-22 16:31:51.000000000 +0200
2+++ belr-4.5.15/src/CMakeLists.txt 2021-06-15 21:41:34.307278254 +0200
3@@ -44,13 +44,20 @@
4 endif()\r
5 \r
6 if(ENABLE_STATIC)\r
7- add_library(belr STATIC ${BELR_HEADER_FILES} ${BELR_SOURCE_FILES_C} ${BELR_SOURCE_FILES_CXX})\r
8- set_target_properties(belr PROPERTIES OUTPUT_NAME belr)\r
9- target_link_libraries(belr PUBLIC ${LIBS})\r
10- target_include_directories(belr INTERFACE\r
11+ add_library(belr-static STATIC ${BELR_HEADER_FILES} ${BELR_SOURCE_FILES_C} ${BELR_SOURCE_FILES_CXX})\r
12+ set_target_properties(belr-static PROPERTIES OUTPUT_NAME belr)\r
13+ target_link_libraries(belr-static PUBLIC ${LIBS})\r
14+ target_include_directories(belr-static INTERFACE\r
15 $<INSTALL_INTERFACE:include>\r
16 $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include>\r
17 )\r
18+install(TARGETS belr-static EXPORT ${EXPORT_TARGET_NAME}Targets\r
19+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}\r
20+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}\r
21+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}\r
22+ FRAMEWORK DESTINATION Frameworks\r
23+ PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE\r
24+)\r
25 endif()\r
26 if(ENABLE_SHARED)\r
27 add_library(belr SHARED ${BELR_HEADER_FILES} ${BELR_SOURCE_FILES_C} ${BELR_SOURCE_FILES_CXX})\r
This page took 0.167731 seconds and 4 git commands to generate.