diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/ecal/0004-install-cmake-files-to-share.patch | |
Diffstat (limited to 'vcpkg/ports/ecal/0004-install-cmake-files-to-share.patch')
| -rw-r--r-- | vcpkg/ports/ecal/0004-install-cmake-files-to-share.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/vcpkg/ports/ecal/0004-install-cmake-files-to-share.patch b/vcpkg/ports/ecal/0004-install-cmake-files-to-share.patch new file mode 100644 index 0000000..1de1065 --- /dev/null +++ b/vcpkg/ports/ecal/0004-install-cmake-files-to-share.patch @@ -0,0 +1,32 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 19d8f2a93..dca8948be 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -277,7 +277,7 @@ set(eCAL_install_app_dir ${CMAKE_INSTALL_BINDIR})
+ set(eCAL_install_archive_dir ${CMAKE_INSTALL_LIBDIR})
+ set(eCAL_install_archive_dyn_dir ${CMAKE_INSTALL_LIBDIR})
+ set(eCAL_install_bin_dir ${CMAKE_INSTALL_BINDIR})
+-set(eCAL_install_cmake_dir ${CMAKE_INSTALL_LIBDIR}/cmake/eCAL)
++set(eCAL_install_cmake_dir share/eCAL)
+ set(eCAL_install_config_dir ${CMAKE_INSTALL_SYSCONFDIR}/ecal)
+ set(eCAL_install_doc_dir ${CMAKE_INSTALL_DOCDIR})
+ set(eCAL_install_include_dir ${CMAKE_INSTALL_INCLUDEDIR})
+diff --git a/thirdparty/cmakefunctions/cmake_functions/CMakeLists.txt b/thirdparty/cmakefunctions/cmake_functions/CMakeLists.txt
+index 6ed0d1a14..9a833a1f9 100644
+--- a/thirdparty/cmakefunctions/cmake_functions/CMakeLists.txt
++++ b/thirdparty/cmakefunctions/cmake_functions/CMakeLists.txt
+@@ -4,12 +4,8 @@ include(cmake_functions.cmake)
+
+ project(CMakeFunctions VERSION 0.4.1)
+
+-if (MSVC)
+-# Variable definitions
+-set(cmake_functions_install_cmake_dir cmake)
+-else (MSVC)
+-set(cmake_functions_install_cmake_dir lib/cmake/${PROJECT_NAME}-${PROJECT_VERSION})
+-endif (MSVC)
++set(cmake_functions_install_cmake_dir "share/${PROJECT_NAME}")
++
+ set(cmake_functions_config ${CMAKE_CURRENT_BINARY_DIR}/cmake/${PROJECT_NAME}Config.cmake)
+ set(cmake_functions_config_version ${CMAKE_CURRENT_BINARY_DIR}/cmake/${PROJECT_NAME}ConfigVersion.cmake)
+
|