33 lines
1.1 KiB
Diff
33 lines
1.1 KiB
Diff
From e6064481c940ec0b487f84257d27eb2929d5013d Mon Sep 17 00:00:00 2001
|
|
From: Neal Gompa <ngompa@fedoraproject.org>
|
|
Date: Mon, 12 Jan 2026 07:55:53 -0500
|
|
Subject: [PATCH] CMake: Use the correct install path for CMake data files
|
|
|
|
Whether we are building natively or cross-compiling, we consistently
|
|
want to use a single path setup for installing CMake data files.
|
|
---
|
|
CMake/setup.cmake | 8 +-------
|
|
1 file changed, 1 insertion(+), 7 deletions(-)
|
|
|
|
diff --git a/CMake/setup.cmake b/CMake/setup.cmake
|
|
index 266e1299a..3089f87a8 100644
|
|
--- a/CMake/setup.cmake
|
|
+++ b/CMake/setup.cmake
|
|
@@ -93,13 +93,7 @@ set(STATICIMAGELIBS "")
|
|
#######################################################################
|
|
|
|
# set where config files go
|
|
-if(WIN32 AND NOT CYGWIN)
|
|
- set(FLTK_CONFIG_PATH CMake)
|
|
-elseif(APPLE AND NOT FLTK_BACKEND_X11)
|
|
- set(FLTK_CONFIG_PATH ${FLTK_DATADIR}/fltk)
|
|
-else()
|
|
- set(FLTK_CONFIG_PATH ${FLTK_DATADIR}/fltk)
|
|
-endif(WIN32 AND NOT CYGWIN)
|
|
+set(FLTK_CONFIG_PATH ${FLTK_LIBDIR}/cmake/fltk CACHE FILEPATH "Install location for cmake files.")
|
|
|
|
include(TestBigEndian)
|
|
TEST_BIG_ENDIAN(WORDS_BIGENDIAN)
|
|
--
|
|
2.52.0
|
|
|