From 32e57789ef9ef04a1f20c10afbab90e0f4045961 Mon Sep 17 00:00:00 2001 From: michael Date: Sat, 30 Oct 2021 22:49:10 +0200 Subject: [PATCH] Simplified CMakeLists --- CoreFlows/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CoreFlows/CMakeLists.txt b/CoreFlows/CMakeLists.txt index 76353a5..d72b351 100755 --- a/CoreFlows/CMakeLists.txt +++ b/CoreFlows/CMakeLists.txt @@ -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( -- 2.39.2