mirror of https://github.com/fltk/fltk
Correct config installation path on macOS
Before: install/FLTK/.framework/Resources/CMake/FLTKConfig.cmake After: install/FLTK.framework/Resources/CMake/FLTKConfig.cmake See https://cmake.org/cmake/help/v3.0/command/find_package.html for definitions of expected installation paths.
This commit is contained in:
parent
874ccfe645
commit
e178d14668
|
@ -77,7 +77,7 @@ set(FLTK_DOCDIR ${CMAKE_INSTALL_DATADIR}/doc CACHE PATH
|
|||
if(WIN32 AND NOT CYGWIN)
|
||||
set(FLTK_CONFIG_PATH CMake)
|
||||
elseif(APPLE AND NOT OPTION_APPLE_X11)
|
||||
set(FLTK_CONFIG_PATH FLTK/.framework/Resources/CMake)
|
||||
set(FLTK_CONFIG_PATH FLTK.framework/Resources/CMake)
|
||||
else()
|
||||
set(FLTK_CONFIG_PATH ${FLTK_DATADIR}/fltk)
|
||||
endif(WIN32 AND NOT CYGWIN)
|
||||
|
|
Loading…
Reference in New Issue