Merge branch 'devel' of mmka.chem.univ.gda.pl:unres into devel
[unres.git] / source / cluster / wham / src-M / CMakeLists.txt
index 2ce99e2..5597466 100644 (file)
@@ -138,7 +138,8 @@ set_property(SOURCE proc_proc.c PROPERTY COMPILE_DEFINITIONS "LINUX -DPGI" )
 #========================================
 #  Setting binary name
 #========================================
-set(UNRES_CLUSTER_WHAM_M_BIN "cluster_wham-M_${Fortran_COMPILER_NAME}.exe")
+set(UNRES_CLUSTER_WHAM_M_BIN
+"cluster_wham-M_${Fortran_COMPILER_NAME}_${UNRES_MD_FF}.exe")
 
 #=========================================
 # Set full unres CLUSTER sources
@@ -166,5 +167,5 @@ target_link_libraries( UNRES_CLUSTER_WHAM_M_BIN xdrf )
 #=========================================
 # Install Path
 #=========================================
-install(TARGETS UNRES_CLUSTER_WHAM_M_BIN DESTINATION ${CMAKE_INSTALL_PREFIX})
+install(TARGETS UNRES_CLUSTER_WHAM_M_BIN DESTINATION ${CMAKE_INSTALL_PREFIX}/cluster)