]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
Linking libraries corrected.
authoradv <adv@opencascade.com>
Fri, 15 Nov 2013 07:17:07 +0000 (07:17 +0000)
committeradv <adv@opencascade.com>
Fri, 15 Nov 2013 07:17:07 +0000 (07:17 +0000)
src/HYDROCurveCreator/CMakeLists.txt
src/HYDROGUI/CMakeLists.txt

index 69a3994a455258eb38c8050b6a95e6aa76a89974..5b29efdf76e0ce6ec45a73b2064384ebbdc39b37 100644 (file)
@@ -6,7 +6,7 @@ include(../../CMake/UseQT4EXT.cmake)
 
 # additional include directories
 INCLUDE_DIRECTORIES(
-  ${QT_INCLUDE_DIRS}
+  ${QT_INCLUDES}
   ${PTHREAD_INCLUDE_DIR}
   ${CAS_INCLUDE_DIRS}
   ${KERNEL_INCLUDE_DIRS}
@@ -23,10 +23,12 @@ ADD_DEFINITIONS(
 
 # libraries to link to
 SET(_link_LIBRARIES
+  ${QT_LIBRARIES}
+  ${qtx}
+  ${suit}
+  ${OCCViewer}
   ${GEOM_GEOMUtils}
-  ${GUI_qtx}
-  ${GUI_suit}
-  ${GUI_OCCViewer}
+  ${CAS_TKV3d} ${CAS_TKBRep} ${CAS_TKService}
 )
 
 # --- headers ---
index 390d907028172df5f851e513d69af8a7dfe1fd4d..e8bcaaf8fd6b2f1f60e053778a503e963ec6dfa2 100644 (file)
@@ -128,7 +128,7 @@ include_directories(
 
 add_library(HYDROGUI SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS} ${PROJECT_HEADERS_MOC})
 target_link_libraries(HYDROGUI HYDROData HYDROCurveCreator
-    ${CAS_TKV3d} ${CAS_TKTopAlgo} ${CAS_TKBrep} ${CAS_TKBO} ${CAS_TKService}
+    ${CAS_TKV3d} ${CAS_TKTopAlgo} ${CAS_TKBO} ${CAS_TKService}
     ${LightApp} ${CAM} ${suit} ${qtx} ${ObjBrowser} ${GraphicsView} ${std} ${Event} ${OCCViewer}
     )