]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Fix CMake warnings (2 identical targets) + fix SalomePalm link.
authornge <nge>
Sun, 20 Jan 2013 16:25:29 +0000 (16:25 +0000)
committernge <nge>
Sun, 20 Jan 2013 16:25:29 +0000 (16:25 +0000)
src/DSC/DSC_User/Datastream/Calcium/CMakeLists.txt
src/DSC/DSC_User/Datastream/Palm/CMakeLists.txt

index f45baf42aede4e217dfc3023099bcdfafc465cc3..2f6d9838a47fbfdf28c1e96f71584a521f8c2609 100755 (executable)
@@ -67,8 +67,8 @@ ADD_LIBRARY(CalciumC ${CalciumC_SOURCES})
 
 INSTALL(TARGETS CalciumC DESTINATION ${KERNEL_salomelib_LIBS})
 
-ADD_EXECUTABLE(test_DataIdContainer test_DataIdContainer.cxx)
-TARGET_LINK_LIBRARIES(test_DataIdContainer SalomeDSCSuperv SalomeContainer SalomeCalcium OpUtil SALOMELocalTrace ${OMNIORB_LIBRARIES} ${PLATFORM_LIBS})
+ADD_EXECUTABLE(test_DataIdContainer_Calcium test_DataIdContainer.cxx)
+TARGET_LINK_LIBRARIES(test_DataIdContainer_Calcium SalomeDSCSuperv SalomeContainer SalomeCalcium OpUtil SALOMELocalTrace ${OMNIORB_LIBRARIES} ${PLATFORM_LIBS})
 
 CONFIGURE_FILE(calcium_integer_port_uses.hxx.in calcium_integer_port_uses.hxx @ONLY)
 CONFIGURE_FILE(CalciumProvidesPort.hxx.in CalciumProvidesPort.hxx @ONLY)
index bf17efedb33b946d52a67580e9af6df899bebc95..6a5cacff2dd8d2c70b86ad39195baf901deb8724 100755 (executable)
@@ -35,9 +35,10 @@ INCLUDE_DIRECTORIES(
 ADD_DEFINITIONS(${OMNIORB_DEFINITIONS})
 
 ADD_LIBRARY(SalomePalm palm_port_factory.cxx)
+TARGET_LINK_LIBRARIES(SalomePalm SalomeDSCSuperv ${OMNIORB_LIBRARIES})
 
-ADD_EXECUTABLE(test_DataIdContainer test_DataIdContainer.cxx)
-TARGET_LINK_LIBRARIES(test_DataIdContainer ${OMNIORB_LIBRARIES})
+ADD_EXECUTABLE(test_DataIdContainer_Palm test_DataIdContainer.cxx)
+TARGET_LINK_LIBRARIES(test_DataIdContainer_Palm ${OMNIORB_LIBRARIES})
 
 FILE(GLOB COMMON_HEADERS_HXX "${CMAKE_CURRENT_SOURCE_DIR}/*.hxx")
 INSTALL(FILES ${COMMON_HEADERS_HXX} DESTINATION ${KERNEL_salomeinclude_HEADERS})