You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
805 B
23 lines
805 B
1 month ago
|
Index: fltk-1.3.8/CMake/setup.cmake
|
||
|
===================================================================
|
||
|
--- fltk-1.3.8.orig/CMake/setup.cmake
|
||
|
+++ fltk-1.3.8/CMake/setup.cmake
|
||
|
@@ -57,13 +57,15 @@ set (FLTK_DOCDIR ${CMAKE_INSTALL_DATADIR
|
||
|
#######################################################################
|
||
|
|
||
|
# set where config files go
|
||
|
-if (WIN32 AND NOT CYGWIN)
|
||
|
+if (MINGW)
|
||
|
+ set (FLTK_CONFIG_PATH ${FLTK_DATADIR}/cmake/fltk)
|
||
|
+elseif (WIN32 AND NOT CYGWIN)
|
||
|
set (FLTK_CONFIG_PATH CMake)
|
||
|
elseif (APPLE AND NOT OPTION_APPLE_X11)
|
||
|
set (FLTK_CONFIG_PATH FLTK.framework/Resources/CMake)
|
||
|
else ()
|
||
|
set (FLTK_CONFIG_PATH ${FLTK_DATADIR}/fltk CACHE FILEPATH "Install location for cmake files.")
|
||
|
-endif (WIN32 AND NOT CYGWIN)
|
||
|
+endif (MINGW)
|
||
|
|
||
|
include(TestBigEndian)
|
||
|
TEST_BIG_ENDIAN(WORDS_BIGENDIAN)
|