| --- a/CMake/install.cmake |
| +++ b/CMake/install.cmake |
| @@ -101,7 +101,7 @@ |
| DESTINATION ${FLTK_BINDIR} |
| ) |
| |
| -if(UNIX OR MSYS OR (MINGW AND CMAKE_CROSSCOMPILING)) |
| +if(UNIX OR MINGW) |
| macro(INSTALL_MAN FILE LEVEL) |
| install(FILES |
| ${FLTK_SOURCE_DIR}/documentation/src/${FILE}.man |
| @@ -117,4 +117,4 @@ |
| INSTALL_MAN(checkers 6) |
| INSTALL_MAN(sudoku 6) |
| |
| -endif(UNIX OR MSYS OR (MINGW AND CMAKE_CROSSCOMPILING)) |
| +endif(UNIX OR MINGW) |
| --- a/CMake/setup.cmake |
| +++ b/CMake/setup.cmake |
| @@ -80,13 +80,13 @@ |
| endif(NOT WIN32) |
| |
| # set where config files go |
| -if(WIN32 AND NOT CYGWIN) |
| +if(WIN32 AND NOT CYGWIN AND NOT MINGW) |
| set(FLTK_CONFIG_PATH CMake) |
| elseif(APPLE AND NOT OPTION_APPLE_X11) |
| set(FLTK_CONFIG_PATH FLTK/.framework/Resources/CMake) |
| else() |
| set(FLTK_CONFIG_PATH ${FLTK_DATADIR}/fltk) |
| -endif(WIN32 AND NOT CYGWIN) |
| +endif(WIN32 AND NOT CYGWIN AND NOT MINGW) |
| |
| include(TestBigEndian) |
| TEST_BIG_ENDIAN(WORDS_BIGENDIAN) |