Fixed Cmake variable
[unres.git] / source / unres / src_CSA_DiL / CMakeLists.txt
index b7b5fbe..3a628ac 100644 (file)
@@ -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 )