Salome HOME
Porting SALOME COMPONENT module to win32 platform.
[samples/component.git] / CMakeLists.txt
index d72e86defc9a602fbfdb9b3790d693cf81ab3b41..cfeb252140e5899000127b53fa60ff6a1828f18a 100755 (executable)
@@ -139,9 +139,16 @@ SET(_${PROJECT_NAME}_exposed_targets
   AddComponentEngine AdditionComponentEngine DivComponentEngine
   MulComponentEngine SubComponentEngine SyrComponentEngine DynInvoke
   TypesCheckEngine DataStreamFactoryEngine SIGNALSComponentEngine
-  UndefinedSymbolComponentEngine SalomeIDLCOMPONENT
+  SalomeIDLCOMPONENT
 )
 
+IF(NOT WIN32)
+  LIST(APPEND _${PROJECT_NAME}_exposed_targets 
+   UndefinedSymbolComponentEngine)
+ENDIF(NOT WIN32)
+
+
 # Add all targets to the build-tree export set
 EXPORT(TARGETS ${_${PROJECT_NAME}_exposed_targets}
   FILE ${PROJECT_BINARY_DIR}/${PROJECT_NAME}Targets.cmake)