[CMake] Fix and install fltk-config.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10679 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Albrecht Schlosser 2015-04-06 13:06:21 +00:00
parent 0b3471658d
commit d767ae7ff6
2 changed files with 5 additions and 1 deletions

View File

@ -70,6 +70,10 @@ install(FILES ${FLTK_BINARY_DIR}/etc/UseFLTK.cmake
DESTINATION ${FLTK_CONFIG_PATH}
)
install(PROGRAMS ${FLTK_BINARY_DIR}/fltk-config
DESTINATION ${FLTK_BINDIR}
)
if(UNIX OR MSYS OR (MINGW AND CMAKE_CROSSCOMPILING))
macro(INSTALL_MAN FILE LEVEL)
install(FILES

View File

@ -49,7 +49,7 @@ OPTIM="@OPTION_OPTIM@"
CAIROFLAGS="@CAIROFLAGS@"
# Check for local invocation, and update paths accordingly...
if test -f "$selfdir/bin/fluid"; then
if test -f "$selfdir/config.h"; then
includedir="@FLTK_SOURCE_DIR@"
libdir="$selfdir/lib"