X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESHGUI%2FCMakeLists.txt;h=a3673cf3f672dee9fb102664afc9306455dfea5e;hb=e33e8e2029a4e91779b9c1d5f480979fa7b51d0b;hp=725c34ae2adbf4db92e55adcb86f034dedcb94ea;hpb=d726924388c048351f6ccc02f0817a0c3d6b239a;p=modules%2Fsmesh.git diff --git a/src/SMESHGUI/CMakeLists.txt b/src/SMESHGUI/CMakeLists.txt index 725c34ae2..a3673cf3f 100644 --- a/src/SMESHGUI/CMakeLists.txt +++ b/src/SMESHGUI/CMakeLists.txt @@ -56,6 +56,11 @@ ADD_DEFINITIONS( ${OMNIORB_DEFINITIONS} ) +# To avoid GetObject macro definition on WIN32 +IF(WIN32) + ADD_DEFINITIONS(-DNOGDI) +ENDIF(WIN32) + # libraries to link to SET(_link_LIBRARIES ${CAS_TKV3d}