From ed0130be55acf42a6135aeb9ec228515af9bc83d Mon Sep 17 00:00:00 2001 From: Mark Piper Date: Wed, 22 Jan 2025 14:31:28 -0700 Subject: [PATCH] Remove bmi.f90 source file from build --- CMakeLists.txt | 6 +++++- GIPL/CMakeLists.txt | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 56b9d70..46cff14 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,10 @@ +# GIPL + cmake_minimum_required(VERSION 3.12) -project(bmigipl Fortran) +project(bmigipl + LANGUAGES Fortran +) include(GNUInstallDirs) diff --git a/GIPL/CMakeLists.txt b/GIPL/CMakeLists.txt index 70e553b..4c0de18 100644 --- a/GIPL/CMakeLists.txt +++ b/GIPL/CMakeLists.txt @@ -2,9 +2,9 @@ set(pkg_name gipl_model) add_library(gipl OBJECT gipl.f90) if(WIN32) - add_library(${bmigipl_lib} STATIC bmigiplf.f90 bmi.f90 $) + add_library(${bmigipl_lib} STATIC bmigiplf.f90 $) else() - add_library(${bmigipl_lib} SHARED bmigiplf.f90 bmi.f90 $) + add_library(${bmigipl_lib} SHARED bmigiplf.f90 $) endif() add_executable(run_${pkg_name} main.f90 $)