mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
fuzzylite, fix 32bit (#8103)
This commit is contained in:
37
dev-libs/fuzzylite/patches/fuzzylite-6.0.patchset
Normal file
37
dev-libs/fuzzylite/patches/fuzzylite-6.0.patchset
Normal file
@@ -0,0 +1,37 @@
|
||||
From e4ffa5c547eddad56b8641f9b417539ed11a4ece Mon Sep 17 00:00:00 2001
|
||||
From: Begasus <begasus@gmail.com>
|
||||
Date: Fri, 24 Mar 2023 20:12:31 +0100
|
||||
Subject: Add FL_INSTALL_INCLUDEDIR to install the headers to the wright place
|
||||
|
||||
|
||||
diff --git a/fuzzylite/CMakeLists.txt b/fuzzylite/CMakeLists.txt
|
||||
index 28435e2..060724b 100644
|
||||
--- a/fuzzylite/CMakeLists.txt
|
||||
+++ b/fuzzylite/CMakeLists.txt
|
||||
@@ -235,6 +235,14 @@ if(NOT FL_INSTALL_LIBDIR)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
+if(NOT FL_INSTALL_INCLUDEDIR)
|
||||
+ if(NOT CMAKE_INSTALL_INCLUDEDIR)
|
||||
+ set(FL_INSTALL_INCLUDEDIR include)
|
||||
+ else()
|
||||
+ set(FL_INSTALL_INCLUDEDIR ${CMAKE_INSTALL_INCLUDEDIR})
|
||||
+ endif()
|
||||
+endif()
|
||||
+
|
||||
if(FL_BUILD_BINARY)
|
||||
install(TARGETS fl-bin
|
||||
RUNTIME DESTINATION ${FL_INSTALL_BINDIR}
|
||||
@@ -259,7 +267,7 @@ if(FL_BUILD_STATIC)
|
||||
)
|
||||
endif()
|
||||
|
||||
-install(DIRECTORY fl/ DESTINATION include/fl)
|
||||
+install(DIRECTORY fl/ DESTINATION ${FL_INSTALL_INCLUDEDIR}/fl)
|
||||
|
||||
#pkg-config
|
||||
configure_file(${CMAKE_SOURCE_DIR}/fuzzylite.pc.in ${CMAKE_BINARY_DIR}/fuzzylite.pc @ONLY)
|
||||
--
|
||||
2.37.3
|
||||
|
||||
Reference in New Issue
Block a user