correct default option for compilers in cluster CmakeList.txt
[unres.git] / source / cluster / wham / src / CMakeLists.txt
index 0851e71..fc35792 100644 (file)
@@ -35,6 +35,7 @@ set(UNRES_CLUSTER_WHAM_SRC0
        rescode.f
        setup_var.f
        srtclust.f
+       ssMD.F
        timing.F
        track.F
        wrtclust.f
@@ -50,6 +51,7 @@ set(UNRES_CLUSTER_WHAM_PP_SRC
        probabl.F
        read_coords.F
        readrtns.F
+       ssMD.F
        timing.F
        track.F
        work_partition.F
@@ -63,6 +65,8 @@ if (Fortran_COMPILER_NAME STREQUAL "ifort")
   set(FFLAGS0 "-ip -w -I. -I${CMAKE_CURRENT_SOURCE_DIR}/include_unres " ) 
 elseif (Fortran_COMPILER_NAME STREQUAL "gfortran")
   set(FFLAGS0 "-std=legacy -I. -I${CMAKE_CURRENT_SOURCE_DIR}/include_unres " ) 
+else ()
+  set(FFLAGS0 "-I. -I${CMAKE_CURRENT_SOURCE_DIR}/include_unres " ) 
 endif (Fortran_COMPILER_NAME STREQUAL "ifort")
 
 # Add MPI compiler flags
@@ -90,7 +94,7 @@ endif(UNRES_MD_FF STREQUAL "GAB")
 #=========================================
 # Additional flags
 #=========================================
-set(CPPFLAGS "${CPPFLAGS} -DUNRES -DISNAN" )
+set(CPPFLAGS "${CPPFLAGS} -DUNRES -DISNAN -DCLUST" )
 
 #=========================================
 # Compiler specific flags