X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=source%2Funres%2Fsrc_CSA_DiL%2FCMakeLists.txt;fp=source%2Funres%2Fsrc_CSA_DiL%2FCMakeLists.txt;h=ae64a42ef4a17a02e3abed13e0d5f2a3032ddaa3;hb=8ca80e88c3aaf3974fef6d7ea574c26a4f0ca7da;hp=7f4f3ab3c1d90b578e80a63703be8e7e664ecff0;hpb=9ad5403ff42e00836e5821d625cb48bf67332064;p=unres.git diff --git a/source/unres/src_CSA_DiL/CMakeLists.txt b/source/unres/src_CSA_DiL/CMakeLists.txt index 7f4f3ab..ae64a42 100644 --- a/source/unres/src_CSA_DiL/CMakeLists.txt +++ b/source/unres/src_CSA_DiL/CMakeLists.txt @@ -194,7 +194,7 @@ set_property(SOURCE ${UNRES_CSA_DiL_PP_SRC} PROPERTY COMPILE_DEFINITIONS ${CPPFL #======================================== # Setting binary name #======================================== -set(UNRES_BIN "unresCSA_${Fortran_COMPILER_NAME}_${UNRES_CSA_FF}_DiL.exe") +set(UNRES_BIN "unresCSA_DiL_${Fortran_COMPILER_NAME}_${UNRES_CSA_FF}.exe") #========================================= # cinfo.f workaround for CMake @@ -238,8 +238,7 @@ set(UNRES_CSA_DiL_SRCS ${UNRES_CSA_DiL_SRC0} ${UNRES_CSA_DiL_SRC3} ${CMAKE_CURRE #========================================= 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 ) +set_property(TARGET UNRES_BIN-CSA-DIL PROPERTY RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin ) #========================================= # Link libraries @@ -248,6 +247,12 @@ set_target_properties(UNRES_BIN-CSA-DIL PROPERTIES OUTPUT_NAME ${UNRES_BIN}) target_link_libraries( UNRES_BIN-CSA-DIL ${MPI_Fortran_LIBRARIES} ) #========================================= +# Install Path +#========================================= +install(TARGETS UNRES_BIN-CSA-DIL DESTINATION ${CMAKE_INSTALL_PREFIX}) + + +#========================================= # TESTS #=========================================