On 22.08.2016 19:34, Albrecht Schlosser wrote:
So, the conclusion is: since CMake can't figure it out we have to
_assume_ that the header files can be #included in MSVC projects
(MinGW works well), hence we should set the corresponding CMake
variable to true, maybe something like:
if (MSVC)
set (HAVE_GL_GL_H 1)
endif (MSVC)
Is this what you suggest?
I suppose I'd go with if(WIN32).
Nils
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake