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
This commit is contained in:
Albrecht Schlosser 2015-04-10 15:50:59 +00:00
parent bd8ab76cb0
commit ce76b65e55
2 changed files with 1 additions and 9 deletions

View File

@ -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)
#######################################################################

View File

@ -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)