Skip to content

Commit

Permalink
remove unnecessary cmake_fortran_compiler def
Browse files Browse the repository at this point in the history
  • Loading branch information
Chan-Hoo Jeon committed Apr 5, 2024
1 parent b6e6ee4 commit e3f9264
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
# check environment
cmake_minimum_required(VERSION 3.5)

# set compiler
if(NOT DEFINED ENV{CMAKE_Fortran_COMPILER})
message(FATAL_ERROR "CMAKE_Fortran_COMPILER is not defined")
endif()

set(CMAKE_Fortran_COMPILER $ENV{CMAKE_Fortran_COMPILER})

# set the project name and version
project(NEXUS
VERSION 0.1.0
Expand Down

0 comments on commit e3f9264

Please sign in to comment.