Salome HOME
Fix for the problem of update of the selection attribute value after it becomes inval...
[modules/shaper.git] / src / Model / CMakeLists.txt
index 37dfcb27424d05e826b24dacfaca1fde0304ef0d..33ec73c00da0d180a8b3d58b10c09f869ab09ae8 100644 (file)
@@ -48,7 +48,6 @@ SET(PROJECT_HEADERS
     Model_Update.h
     Model_Validator.h
     Model_ResultBody.h
-    Model_ResultCompSolid.h
     Model_ResultConstruction.h
     Model_ResultPart.h
     Model_ResultField.h
@@ -86,7 +85,6 @@ SET(PROJECT_SOURCES
     Model_Update.cpp
     Model_Validator.cpp
     Model_ResultBody.cpp
-    Model_ResultCompSolid.cpp
     Model_ResultConstruction.cpp
     Model_ResultPart.cpp
     Model_ResultField.cpp
@@ -104,10 +102,8 @@ SET(PROJECT_LIBRARIES
     GeomData
     GeomAPI
     GeomAlgoAPI
-    ${CAS_OCAF}
-    ${CAS_TKCAF}
-    ${CAS_SHAPE}
-    ${CAS_TKBO}
+    ModelGeomAlgo
+    ${OpenCASCADE_ApplicationFramework_LIBRARIES}
 )
 SET(PROJECT_INCLUDES
   ../ModelAPI
@@ -117,7 +113,8 @@ SET(PROJECT_INCLUDES
   ../GeomDataAPI
   ../GeomAlgoAPI
   ../GeomAPI
-  ${CAS_INCLUDE_DIRS}
+  ../ModelGeomAlgo
+  ${OpenCASCADE_INCLUDE_DIR}
 )
 
 
@@ -125,7 +122,7 @@ IF(TKTInspector)
     ADD_DEFINITIONS(-DTINSPECTOR)
 ENDIF()
 
-ADD_DEFINITIONS(-DMODEL_EXPORTS ${CAS_DEFINITIONS})
+ADD_DEFINITIONS(-DMODEL_EXPORTS ${OpenCASCADE_DEFINITIONS})
 ADD_LIBRARY(Model SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS})
 TARGET_LINK_LIBRARIES(Model ${PROJECT_LIBRARIES})