summaryrefslogtreecommitdiff
path: root/src/drivers/Xlib/Fl_Xlib_Graphics_Driver.cxx
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2017-03-17 17:42:50 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2017-03-17 17:42:50 +0000
commit54596de1c33e45fe8bcc217e110a27d755152bdc (patch)
tree9406e7ecb432be21dae27a619779b3f70c4f75b7 /src/drivers/Xlib/Fl_Xlib_Graphics_Driver.cxx
parent298692f55ee56144fde887efd5d5cac2703faa75 (diff)
[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
Diffstat (limited to 'src/drivers/Xlib/Fl_Xlib_Graphics_Driver.cxx')
0 files changed, 0 insertions, 0 deletions