From 2d7dd844219965b81e81848e60d7f7bf23035ee4 Mon Sep 17 00:00:00 2001 From: Aki Date: Wed, 9 Feb 2022 22:15:14 +0100 Subject: Removed install-time rules from third-party libraries Removing and starting anew is one way. The other way would be to move the third-party libraries out of the tree and just install them properly, but I'm unsure how well it will go for Windows hosts, so I'm choosing the self-contained route. --- vorbis/CMakeLists.txt | 9 --------- vorbis/lib/CMakeLists.txt | 6 ------ 2 files changed, 15 deletions(-) (limited to 'vorbis') diff --git a/vorbis/CMakeLists.txt b/vorbis/CMakeLists.txt index 61c1c1b..1eb36e5 100644 --- a/vorbis/CMakeLists.txt +++ b/vorbis/CMakeLists.txt @@ -57,12 +57,3 @@ add_subdirectory(lib) configure_pkg_config_file(vorbis.pc.in) configure_pkg_config_file(vorbisenc.pc.in) configure_pkg_config_file(vorbisfile.pc.in) - -install( - FILES - ${CMAKE_CURRENT_BINARY_DIR}/vorbis.pc - ${CMAKE_CURRENT_BINARY_DIR}/vorbisenc.pc - ${CMAKE_CURRENT_BINARY_DIR}/vorbisfile.pc - DESTINATION - ${CMAKE_INSTALL_LIBDIR}/pkgconfig -) diff --git a/vorbis/lib/CMakeLists.txt b/vorbis/lib/CMakeLists.txt index daa3416..f0993f2 100644 --- a/vorbis/lib/CMakeLists.txt +++ b/vorbis/lib/CMakeLists.txt @@ -93,12 +93,6 @@ if (NOT BUILD_FRAMEWORK) add_library(Vorbis::vorbis ALIAS vorbis) add_library(Vorbis::vorbisenc ALIAS vorbisenc) add_library(Vorbis::vorbisfile ALIAS vorbisfile) - - install(FILES ${VORBIS_PUBLIC_HEADERS} DESTINATION ${CMAKE_INSTALL_FULL_INCLUDEDIR}/vorbis) - - install(TARGETS vorbis RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} FRAMEWORK DESTINATION ${CMAKE_INSTALL_LIBDIR}) - install(TARGETS vorbisenc RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} FRAMEWORK DESTINATION ${CMAKE_INSTALL_LIBDIR}) - install(TARGETS vorbisfile RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} FRAMEWORK DESTINATION ${CMAKE_INSTALL_LIBDIR}) else() add_library(vorbis ${VORBIS_PUBLIC_HEADERS} ${VORBIS_HEADERS} ${VORBIS_SOURCES} ${VORBISFILE_SOURCES} ${VORBISENC_SOURCES}) set_target_properties(vorbis PROPERTIES -- cgit v1.1