added gnmr1.f to sources in cmake builds
[unres.git] / source / wham / src / CMakeLists.txt
index 8d92683..0de3d71 100644 (file)
@@ -23,6 +23,7 @@ set(UNRES_WHAM_SRC0
        cartprint.f
        chainbuild.f
        geomout.F
+       gnmr1.f
        icant.f
        intcor.f
        int_from_cart.f
@@ -93,11 +94,7 @@ set(UNRES_WHAM_PP_SRC
 if (Fortran_COMPILER_NAME STREQUAL "ifort")
   set(FFLAGS0 "-mcmodel=medium -g -CB -I. -I${CMAKE_CURRENT_SOURCE_DIR}/include_unres" ) 
 elseif (Fortran_COMPILER_NAME STREQUAL "gfortran")
-  set(FFLAGS0 "-c -I. " ) 
-  set(FFLAGS1 "-c -g -I. " ) 
-  set(FFLAGS2 "-c -I. ")
-  #set(FFLAGS3 "-c -w -O3 -ipo -ipo_obj -opt_report" )
-  set(FFLAGS3 "-c -I. " )
+  set(FFLAGS0 "-g -I. -I${CMAKE_CURRENT_SOURCE_DIR}/include_unres" ) 
 endif (Fortran_COMPILER_NAME STREQUAL "ifort")