|
|
@@ -53,10 +53,10 @@ ENDIF(CMAKE_GENERATOR MATCHES "Visual Studio 7" OR CMAKE_GENERATOR MATCHES "Visu
|
|
|
# does the compiler support pdbtype and is it the newer compiler
|
|
|
|
|
|
SET(CMAKE_BUILD_TYPE_INIT Debug)
|
|
|
-SET (CMAKE_Fortran_FLAGS_INIT "/W1 /nologo /fpp")
|
|
|
-SET (CMAKE_Fortran_FLAGS_DEBUG_INIT "/debug:full")
|
|
|
+SET (CMAKE_Fortran_FLAGS_INIT "/W1 /nologo /fpp /libs:dll /threads")
|
|
|
+SET (CMAKE_Fortran_FLAGS_DEBUG_INIT "/debug:full /dbglibs")
|
|
|
SET (CMAKE_Fortran_FLAGS_MINSIZEREL_INIT "/O2 /D NDEBUG")
|
|
|
-SET (CMAKE_Fortran_FLAGS_RELEASE_INIT "/MD /O1 /D NDEBUG")
|
|
|
+SET (CMAKE_Fortran_FLAGS_RELEASE_INIT "/O1 /D NDEBUG")
|
|
|
SET (CMAKE_Fortran_FLAGS_RELWITHDEBINFO_INIT "/O1 /debug:full /D NDEBUG")
|
|
|
|
|
|
SET (CMAKE_Fortran_STANDARD_LIBRARIES_INIT "user32.lib")
|