| --- code/src/CMakeLists.txt 2017-10-31 15:59:05.661945200 -0400 |
| +++ code/src/CMakeLists.txt 2017-10-31 16:00:02.819489500 -0400 |
| @@ -60,13 +60,9 @@ |
| INSTALL_NAME_DIR ${LIB_INSTALL_DIR} |
| LINK_INTERFACE_LIBRARIES "" |
| PUBLIC_HEADER "${PROJECT_NAME}.h") |
| -if (BUILD_FRAMEWORK) |
| - set_target_properties (${PROJECT_NAME} PROPERTIES FRAMEWORK TRUE) |
| -elseif (NOT WIN32) |
| set (TARGET_PCS ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.pc) |
| configure_file (${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}.pc.in ${TARGET_PCS}) |
| install (FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig) |
| -endif () |
| |
| |
| |
| @@ -84,13 +80,9 @@ |
| INSTALL_NAME_DIR ${LIB_INSTALL_DIR} |
| LINK_INTERFACE_LIBRARIES "" |
| PUBLIC_HEADER "${LSR}.h") |
| - if (BUILD_FRAMEWORK) |
| - set_target_properties (${LSR} PROPERTIES FRAMEWORK TRUE) |
| - elseif (NOT WIN32) |
| set (TARGET_PCS "${TARGET_PCS} ${CMAKE_CURRENT_BINARY_DIR}/${LSR}.pc") |
| configure_file (${CMAKE_CURRENT_SOURCE_DIR}/${LSR}.pc.in ${CMAKE_CURRENT_BINARY_DIR}/${LSR}.pc) |
| install (FILES ${CMAKE_CURRENT_BINARY_DIR}/${LSR}.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig) |
| - endif () |
| endif () |
| |
| |