Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Changed project so the compiler will recognize .f90 files
Browse files Browse the repository at this point in the history
  • Loading branch information
cwishard committed Oct 13, 2022
1 parent 65f8a65 commit 1ddc637
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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
Expand Down

0 comments on commit 1ddc637

Please sign in to comment.