8b054931bd
The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/fltk#938142915546c69331608b1ebd8144bf316a1ac6
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)
|