Hi Torben,
Perhaps moving this to the CMake files would make sense?
I just checked the root CMakeLists.txt, and it has a section:
IF (WIN32)
...
# Both Cygwin and Msys need -DNOMINMAX ???
IF(UNIX)
ADD_DEFINITIONS(-DNOMINMAX)
ENDIF()
...
ENDIF()
Removing the IF(UNIX) from the above would also define NOMINMAX for MSVC
(i.e. it would be defined for all Windows compilers, including Cygwin
and MinGW which fall under the IF(UNIX) test and MSVC which falls under
the IF(MSVC) test just above those lines).
Can you try this?
Thanks,
J-S
--
______________________________________________________
Jean-Sebastien Guay [email protected]
http://www.cm-labs.com/
http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org