mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
vc, bump version (#9162)
This commit is contained in:
39
dev-libs/vc/patches/vc-1.4.3.patchset
Normal file
39
dev-libs/vc/patches/vc-1.4.3.patchset
Normal file
@@ -0,0 +1,39 @@
|
||||
From cdebd52a535b2b2a6bcb9cc06f7bc460f5ff739a Mon Sep 17 00:00:00 2001
|
||||
From: Begasus <begasus@gmail.com>
|
||||
Date: Tue, 8 Aug 2023 10:42:02 +0000
|
||||
Subject: Set install paths
|
||||
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index d629ebb..1cb4557 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -189,8 +189,8 @@ target_include_directories(Vc
|
||||
|
||||
option(Vc_ENABLE_INSTALL "Whether to install the library." ON)
|
||||
if (Vc_ENABLE_INSTALL)
|
||||
- install(TARGETS Vc EXPORT VcTargets DESTINATION lib${LIB_SUFFIX})
|
||||
- install(DIRECTORY Vc/ DESTINATION include/Vc FILES_MATCHING REGEX "/*.(h|tcc|def)$")
|
||||
+ install(TARGETS Vc EXPORT VcTargets DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||
+ install(DIRECTORY Vc/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/Vc FILES_MATCHING REGEX "/*.(h|tcc|def)$")
|
||||
install(FILES
|
||||
Vc/Allocator
|
||||
Vc/IO
|
||||
@@ -206,12 +206,12 @@ if (Vc_ENABLE_INSTALL)
|
||||
Vc/span
|
||||
Vc/type_traits
|
||||
Vc/vector
|
||||
- DESTINATION include/Vc)
|
||||
+ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/Vc)
|
||||
|
||||
# Generate and install CMake package and modules
|
||||
include(CMakePackageConfigHelpers)
|
||||
set(PACKAGE_INSTALL_DESTINATION
|
||||
- lib${LIB_SUFFIX}/cmake/${PROJECT_NAME}
|
||||
+ ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}
|
||||
)
|
||||
install(EXPORT ${PROJECT_NAME}Targets
|
||||
NAMESPACE ${PROJECT_NAME}::
|
||||
--
|
||||
2.37.3
|
||||
|
||||
Reference in New Issue
Block a user