diff options
| author | Alexey Sokolov <alexey+gentoo@asokolov.org> | 2022-09-25 22:30:27 +0100 |
|---|---|---|
| committer | Ionen Wolkens <ionen@gentoo.org> | 2022-09-26 05:34:09 -0400 |
| commit | 9a6d9c1ece3205412ae0e6f3f36777ce7e203138 (patch) | |
| tree | c0b08b8d1e3bdffcd1df609ca405632b3448a043 /dev-cpp/sol2/files/sol2-3.3.0-cmake-dir.patch | |
| parent | e6ff55cc55eb7e2b862326965ace1ac5b941c590 (diff) | |
| download | gentoo-9a6d9c1ece3205412ae0e6f3f36777ce7e203138.tar.gz gentoo-9a6d9c1ece3205412ae0e6f3f36777ce7e203138.tar.bz2 gentoo-9a6d9c1ece3205412ae0e6f3f36777ce7e203138.zip | |
dev-cpp/sol2: add 3.3.0
Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
Closes: https://bugs.gentoo.org/864169
Closes: https://github.com/gentoo/gentoo/pull/27456
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-cpp/sol2/files/sol2-3.3.0-cmake-dir.patch')
| -rw-r--r-- | dev-cpp/sol2/files/sol2-3.3.0-cmake-dir.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-cpp/sol2/files/sol2-3.3.0-cmake-dir.patch b/dev-cpp/sol2/files/sol2-3.3.0-cmake-dir.patch new file mode 100644 index 000000000000..6782b05abf78 --- /dev/null +++ b/dev-cpp/sol2/files/sol2-3.3.0-cmake-dir.patch @@ -0,0 +1,31 @@ +Install to share, it's header-only + +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -105,7 +105,7 @@ target_include_directories(sol2 ${sol2-system-include} + configure_package_config_file( + cmake/sol2-config.cmake.in + "${CMAKE_CURRENT_BINARY_DIR}/cmake/sol2-config.cmake" +- INSTALL_DESTINATION lib/cmake/sol2 ++ INSTALL_DESTINATION ${CMAKE_INSTALL_DATADIR}/cmake/sol2 + NO_CHECK_REQUIRED_COMPONENTS_MACRO) + + write_basic_package_version_file( +@@ -121,7 +121,7 @@ if(SOL2_ENABLE_INSTALL) + + install(EXPORT sol2 + FILE sol2-targets.cmake +- DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/sol2") ++ DESTINATION "${CMAKE_INSTALL_DATADIR}/cmake/sol2") + + install(DIRECTORY include/sol + DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}") +@@ -129,7 +129,7 @@ if(SOL2_ENABLE_INSTALL) + install(FILES + "${CMAKE_CURRENT_BINARY_DIR}/cmake/sol2-config.cmake" + "${CMAKE_CURRENT_BINARY_DIR}/cmake/sol2-config-version.cmake" +- DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/sol2") ++ DESTINATION "${CMAKE_INSTALL_DATADIR}/cmake/sol2") + endif() + + # # # sol2 Library - Single header target |
