]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
windows porting
authorageay <ageay>
Fri, 5 Jul 2013 15:26:20 +0000 (15:26 +0000)
committerageay <ageay>
Fri, 5 Jul 2013 15:26:20 +0000 (15:26 +0000)
CMakeLists.txt

index 86383a3ef323fb6fe94e0144a00e7bd58c6856e2..25fad4e811a4bed365e3ea4a59364420811fcd6c 100644 (file)
@@ -177,6 +177,9 @@ INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/MED_version.h DESTINATION ${SALOME_INS
 
 # Sources 
 # ========
+IF(WIN32)
+  ADD_DEFINITIONS("-D_USE_MATH_DEFINES")
+ENDIF(WIN32)
 
 ADD_SUBDIRECTORY(src)
 ADD_SUBDIRECTORY(bin)