From: Bartlomiej Zaborowski Date: Wed, 3 Oct 2012 15:47:14 +0000 (+0200) Subject: Fixed Cmake variable X-Git-Tag: v.3.2~67^2~3 X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?p=unres.git;a=commitdiff_plain;h=001bbf2ed5ba14a66b32a78eaefd675f33f00778 Fixed Cmake variable --- diff --git a/source/unres/src_CSA_DiL/CMakeLists.txt b/source/unres/src_CSA_DiL/CMakeLists.txt index b7b5fbe..3a628ac 100644 --- a/source/unres/src_CSA_DiL/CMakeLists.txt +++ b/source/unres/src_CSA_DiL/CMakeLists.txt @@ -219,8 +219,8 @@ set(UNRES_CSA_DiL_SRCS ${UNRES_CSA_DiL_SRC0} ${UNRES_CSA_DiL_SRC3} ${CMAKE_CURRE #========================================= # Build the binary #========================================= -add_executable(UNRES_BIN-CSA ${UNRES_CSA_DiL_SRCS} ) -set_target_properties(UNRES_BIN-CSA PROPERTIES OUTPUT_NAME ${UNRES_BIN}) +add_executable(UNRES_BIN-CSA-DIL ${UNRES_CSA_DiL_SRCS} ) +set_target_properties(UNRES_BIN-CSA-DIL PROPERTIES OUTPUT_NAME ${UNRES_BIN}) #set_property(TARGET ${UNRES_BIN} PROPERTY RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin/unres/MD ) #add_dependencies (${UNRES_BIN} ${UNRES_XDRFLIB}) @@ -229,7 +229,7 @@ set_target_properties(UNRES_BIN-CSA PROPERTIES OUTPUT_NAME ${UNRES_BIN}) # Link libraries #========================================= # link MPI library (libmpich.a) -target_link_libraries( UNRES_BIN-CSA ${MPIF_LIBRARIES} ) +target_link_libraries( UNRES_BIN-CSA-DIL ${MPIF_LIBRARIES} ) # link libxdrf.a #target_link_libraries( ${UNRES_BIN} xdrf )