fltk/CMake
Albrecht Schlosser 54596de1c3 [CMake] Fix Visual Studio header detection.
This commit fixes a CMake issue if CMake is invoked from a desktop icon
or the Windows menu, i.e. not within the correct environment to find all
required header files.

We recommend to run CMake from a "Developer Command Prompt for Visual Studio X",
but sometimes users click on their desktop icon and run CMake without the
correct context. In this case some header files in the Windows SDK's are not
found by CMake.

The solution is to issue a warning and "fix" the header detection by faking
that the headers were found, because they are always available in Visual
Studio. The affected headers <locale.h> and <GL/glu.h> were set to "found"
in the bundles IDE's in FLTK 1.3 as well, so there should be no issue with
this fix.

It is also recommended by the CMake folks, i.e. they suggest not to search
for these special header files that are known to exist always.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12209 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-03-17 17:42:50 +00:00
..
cmake_uninstall.cmake.in Mostly rewritten CMake files by Michael Surette. They are more complete 2010-04-05 22:33:58 +00:00
export.cmake [CMake] config.h, part 2 - full compatibility with autoconf. 2015-12-30 21:13:07 +00:00
FindSDL2.cmake Add support for SDL as a base library on OS X. 2016-03-02 00:54:37 +00:00
FLTKConfig.cmake.in CMake enhancements, as discussed in STR #3055. 2014-09-27 00:41:06 +00:00
install-symlinks.cmake.in [CMake] Improve installation, support DESTDIR, and more (STR #3149). 2015-02-16 14:30:27 +00:00
install.cmake Fix fltk-config for CMake build. 2015-07-12 22:32:30 +00:00
MacOSXBundleInfo.plist.in Mac OS + CMake: this file is used by CMake to build the Info.plist files of the application 2015-12-26 16:14:19 +00:00
macros.cmake Rename test/help demo program to test/help_dialog. 2017-02-08 02:06:52 +00:00
options.cmake X11 platform: Add optional use of the pango library to draw text, gaining the possibility to draw text in any script supported by Unicode. 2016-12-21 15:05:02 +00:00
posixScandir.cxx Mostly rewritten CMake files by Michael Surette. They are more complete 2010-04-05 22:33:58 +00:00
resources.cmake [CMake] Fix Visual Studio header detection. 2017-03-17 17:42:50 +00:00
setup.cmake Add support for SDL as a base library on OS X. 2016-03-02 00:54:37 +00:00
UseFLTK.cmake.in CMake enhancements, as discussed in STR #3055. 2014-09-27 00:41:06 +00:00
variables.cmake [CMake] Update fltk-config generation for AIX (STR #3217). 2015-04-25 20:36:48 +00:00