diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2015-04-10 15:50:59 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2015-04-10 15:50:59 +0000 |
| commit | ce76b65e55fb809c3fdf29e88711bb290490b195 (patch) | |
| tree | cb6ac8b3d02229c9ff763c21d109a125908c8778 | |
| parent | bd8ab76cb050047c921946662440260efc0706b7 (diff) | |
CMake: Remove installation of example programs (STR #3194).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10695 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | CMake/macros.cmake | 5 | ||||
| -rw-r--r-- | CMake/setup.cmake | 5 |
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) |
