Regarding the CMake warnings:
-- Warning: Header file GL/glu.h was not found. <<<<
-- The FLTK team recommends to rerun CMake from a <<<<
-- "Developer Command Prompt for Visual Studio xxxx" <<<<
This is only a recommendation, but I think it's not necessary. The reason is that
GL/glu.h may not be found by
CMake but is nevertheless available somewhere in the Windows SDK. This ought to be found when you run CMake from a developer command prompt but meanwhile I think we should remove it because the build works fine anyway. Magic.
Side note: even though CMAKE_BUILD_TYPE was set to "Release" on the cmake command line, still had to change the VS IDE pulldown menu from Debug -> Release ...
CMAKE_BUILD_TYPE is ignored in VS build generators because these are "multi-config" generators, i.e. you can select the build type in the IDE. It's only relevant to set a particular build type for Makefiles, Ninja, and other single-config generators. I'd like it to set the default build type for MSVC rather than being ignored but that's IIRC something the CMake guys can't do (or don't want to do) for some reason.
[ Direct Link to Message ]
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.