]> SALOME platform Git repositories - tools/solverlab.git/commitdiff
Salome HOME
Simplified CMakeLists
authormichael <michael@localhost.localdomain>
Sat, 30 Oct 2021 20:49:10 +0000 (22:49 +0200)
committermichael <michael@localhost.localdomain>
Sat, 30 Oct 2021 20:49:10 +0000 (22:49 +0200)
CoreFlows/CMakeLists.txt

index 76353a5b9d8700b18f4358ba6bfb1a131e41a90e..d72b3514283bf45e14471cabfb714810c5567a0f 100755 (executable)
@@ -98,10 +98,10 @@ INCLUDE_DIRECTORIES(                                                                                            #
 SET(MAIN_SOURCES                                                                                           #
   mainCoreFlows.cxx                                                                                                #
   )                                                                                                        #
-SET(_extra_lib_CoreFlows ${CDMATH_LIBRARIES} ${PETSC_LIBRARIES} )                                          #
+
 ADD_EXECUTABLE(CoreFlowsMainExe ${MAIN_SOURCES})                                                           #
 SET_TARGET_PROPERTIES(CoreFlowsMainExe PROPERTIES COMPILE_FLAGS "")                                        #
-TARGET_LINK_LIBRARIES(CoreFlowsMainExe CoreFlowsLibs  ${_extra_lib_CoreFlows})                             #
+TARGET_LINK_LIBRARIES(CoreFlowsMainExe CoreFlowsLibs  ${CDMATH_LIBRARIES} ${PETSC_LIBRARIES} ${SLEPC_LIBRARIES} )                                  #
 INSTALL(TARGETS CoreFlowsMainExe DESTINATION bin)                                                  #
                                                                                                            #
 configure_file(