Browse Source

cmake: make sure to install any built frameworks

Signed-off-by: falkTX <falktx@falktx.com>
fix-audiofile-buffering
falkTX 1 year ago
parent
commit
2f503d70cb
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 14 additions and 14 deletions
  1. +14
    -14
      cmake/CMakeLists.txt

+ 14
- 14
cmake/CMakeLists.txt View File

@@ -921,18 +921,18 @@ target_sources(carla-standalone
${carla-standalone-public-headers}
)

install(TARGETS carla-standalone
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}/carla
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/carla
FRAMEWORK DESTINATION ${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
)

if(${CARLA_BUILD_FRAMEWORKS})
install(TARGETS
carla-bridge-native
carla-discovery-native
DESTINATION ${CMAKE_INSTALL_LIBDIR}/carla-standalone.framework)
else()
install(TARGETS carla-standalone
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}/carla
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/carla
FRAMEWORK DESTINATION ${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
)
endif()

#######################################################################################################################
@@ -1022,18 +1022,18 @@ target_sources(carla-utils
${carla-utils-public-headers}
)

install(TARGETS carla-utils
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}/carla
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/carla
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
FRAMEWORK DESTINATION ${CMAKE_INSTALL_LIBDIR}
)

if(${CARLA_BUILD_FRAMEWORKS})
install(TARGETS
carla-bridge-native
carla-discovery-native
DESTINATION ${CMAKE_INSTALL_LIBDIR}/carla-utils.framework)
else()
install(TARGETS carla-utils
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}/carla
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/carla
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
FRAMEWORK DESTINATION ${CMAKE_INSTALL_LIBDIR}
)
endif()

#######################################################################################################################


Loading…
Cancel
Save