summaryrefslogtreecommitdiff
path: root/CMake
diff options
context:
space:
mode:
Diffstat (limited to 'CMake')
-rw-r--r--CMake/macros.cmake5
-rw-r--r--CMake/setup.cmake5
2 files changed, 1 insertions, 9 deletions
diff --git a/CMake/macros.cmake b/CMake/macros.cmake
index ef45bc034..b2015123d 100644
--- a/CMake/macros.cmake
+++ b/CMake/macros.cmake
@@ -145,11 +145,6 @@ macro(CREATE_EXAMPLE NAME SOURCES LIBRARIES)
target_link_libraries(${tname} ${X11_Xinerama_LIB})
endif(HAVE_XINERAMA)
- # install the example
- install(TARGETS ${tname}
- DESTINATION ${FLTK_EXAMPLES_PATH}
- )
-
endmacro(CREATE_EXAMPLE NAME SOURCES LIBRARIES)
#######################################################################
diff --git a/CMake/setup.cmake b/CMake/setup.cmake
index 9336b1a2b..f63782556 100644
--- a/CMake/setup.cmake
+++ b/CMake/setup.cmake
@@ -75,16 +75,13 @@ if(NOT WIN32)
endif(_WIN32)
endif(NOT WIN32)
-# set where config and example files go
+# set where config files go
if(WIN32 AND NOT CYGWIN)
set(FLTK_CONFIG_PATH CMake)
- set(FLTK_EXAMPLES_PATH bin/fltk-examples)
elseif(APPLE)
set(FLTK_CONFIG_PATH FLTK/.framework/Resources/CMake)
- set(FLTK_EXAMPLES_PATH share/fltk-examples)
else()
set(FLTK_CONFIG_PATH ${FLTK_DATADIR}/fltk)
- set(FLTK_EXAMPLES_PATH ${FLTK_DATADIR}/fltk-examples)
endif(WIN32 AND NOT CYGWIN)
include(TestBigEndian)