[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:
parent
0b3471658d
commit
d767ae7ff6
@ -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
|
||||
|
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user