diff --git a/src/libs/ephemeris/CMakeLists.txt b/src/libs/ephemeris/CMakeLists.txt index 00d5cdf4..74865ccf 100644 --- a/src/libs/ephemeris/CMakeLists.txt +++ b/src/libs/ephemeris/CMakeLists.txt @@ -15,7 +15,8 @@ ADD_PLIB_INCLUDEDIR() ADD_SDL_INCLUDEDIR() IF(WIN32) - # What for ? Comment please ! + # Inhibit definition of Macros min(a,b) and max(a,b) on Windows + # as the names conflict with the template functions from SGMisc.h ADD_DEFINITIONS(-DNOMINMAX) # DLL export stuff under Windows (to avoid .def file)