27 lines
1020 B
Diff
27 lines
1020 B
Diff
|
Index: fltk-1.3.5/CMake/macros.cmake
|
||
|
===================================================================
|
||
|
--- fltk-1.3.5.orig/CMake/macros.cmake
|
||
|
+++ fltk-1.3.5/CMake/macros.cmake
|
||
|
@@ -38,7 +38,7 @@ macro(FL_ADD_LIBRARY LIBNAME LIBTYPE LIB
|
||
|
|
||
|
set_target_properties(${LIBRARY_NAME}
|
||
|
PROPERTIES
|
||
|
- OUTPUT_NAME ${LIBRARY_NAME}
|
||
|
+ OUTPUT_NAME ${LIBNAME}
|
||
|
DEBUG_OUTPUT_NAME ${LIBRARY_NAME_DEBUG}
|
||
|
CLEAN_DIRECT_OUTPUT TRUE
|
||
|
COMPILE_DEFINITIONS "FL_LIBRARY"
|
||
|
Index: fltk-1.3.5/CMake/setup.cmake
|
||
|
===================================================================
|
||
|
--- fltk-1.3.5.orig/CMake/setup.cmake
|
||
|
+++ fltk-1.3.5/CMake/setup.cmake
|
||
|
@@ -85,7 +85,7 @@ if(WIN32 AND NOT CYGWIN)
|
||
|
elseif(APPLE AND NOT OPTION_APPLE_X11)
|
||
|
set(FLTK_CONFIG_PATH FLTK/.framework/Resources/CMake)
|
||
|
else()
|
||
|
- set(FLTK_CONFIG_PATH ${FLTK_DATADIR}/fltk)
|
||
|
+ set(FLTK_CONFIG_PATH ${FLTK_DATADIR}/fltk CACHE FILEPATH "Install location for cmake files.")
|
||
|
endif(WIN32 AND NOT CYGWIN)
|
||
|
|
||
|
include(TestBigEndian)
|