X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESHGUI%2FCMakeLists.txt;h=a3673cf3f672dee9fb102664afc9306455dfea5e;hb=02dc428b77903ee875df133369534b7a5fd64644;hp=725c34ae2adbf4db92e55adcb86f034dedcb94ea;hpb=1bd4ba8acdfe7ab1edc96a016836e174a393d445;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}