From 1ddc637af6487a7c1afe25a36ada04c50201b62d Mon Sep 17 00:00:00 2001 From: Carlisle Wishard Date: Thu, 13 Oct 2022 12:50:57 -0400 Subject: [PATCH] Changed project so the compiler will recognize .f90 files --- CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4b9d14944..c28691f0e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,7 +5,7 @@ ################################################## CMAKE_MINIMUM_REQUIRED(VERSION 2.8.5...3.20.1) -PROJECT(Swiftest) +PROJECT(Swiftest Fortran) # Set the Swiftest version SET(VERSION 1.0.0) @@ -14,9 +14,9 @@ SET(VERSION 1.0.0) SET(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/Modules/") # Uncomment if it is required that Fortran 90 is supported -IF(NOT CMAKE_Fortran_COMPILER_SUPPORTS_F90) - MESSAGE(FATAL_ERROR "Fortran compiler does not support F90") -ENDIF(NOT CMAKE_Fortran_COMPILER_SUPPORTS_F90) +#IF(NOT CMAKE_Fortran_COMPILER_SUPPORTS_F90) +# MESSAGE(FATAL_ERROR "Fortran compiler does not support F90") +#ENDIF(NOT CMAKE_Fortran_COMPILER_SUPPORTS_F90) # Set some options the user may choose # Uncomment the below if you want the user to choose a parallelization library