You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
440 B
15 lines
440 B
cmake_minimum_required(VERSION 3.13)
|
|
enable_language(Fortran)
|
|
project(oneloop)
|
|
|
|
if (CMAKE_Fortran_COMPILER_ID STREQUAL "GNU")
|
|
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -cpp -finit-local-zero -ffixed-line-length-none -ffree-line-length-512 -fopenmp")
|
|
else()
|
|
message( FATAL_ERROR "Unsupported Fortran compiler ${CMAKE_Fortran_COMPILER_ID}")
|
|
endif()
|
|
|
|
add_library(oneloop STATIC)
|
|
|
|
target_sources(oneloop PRIVATE
|
|
avh_olo.f90
|
|
)
|