From ab99d454d736e7254e05b5e1f810518d66f85719 Mon Sep 17 00:00:00 2001 From: golmschenk Date: Fri, 20 Oct 2023 23:35:18 -0400 Subject: [PATCH] Remove again --- CMakeLists.txt | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 99f3f05..2a39684 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,20 +4,20 @@ project(src/eesunhong LANGUAGES Fortran) set(CMAKE_POSITION_INDEPENDENT_CODE ON) -#set(BUILD_TESTING OFF) -#include(FetchContent) -#FetchContent_Declare( -# fortran_stdlib -# GIT_REPOSITORY https://github.com/fortran-lang/stdlib.git -# GIT_TAG df1e2f0ed0cbe2fbd9c1f20dcb5bd1a4bba95bb2 # v3.0.0 -#) -#FetchContent_MakeAvailable(fortran_stdlib) -#set(BUILD_TESTING ON) +set(BUILD_TESTING OFF) +include(FetchContent) +FetchContent_Declare( + fortran_stdlib + GIT_REPOSITORY https://github.com/fortran-lang/stdlib.git + GIT_TAG df1e2f0ed0cbe2fbd9c1f20dcb5bd1a4bba95bb2 # v3.0.0 +) +FetchContent_MakeAvailable(fortran_stdlib) +set(BUILD_TESTING ON) add_library(polyroots OBJECT third_party/polyroots-fortran/polyroots_cmplx_roots_gen.f90) add_library(roots OBJECT third_party/roots-fortran/root_module.F90) -add_library(eesunhong_recipes_replacements OBJECT src/eesunhong_recipes_replacements.f90) -target_link_libraries(eesunhong_recipes_replacements PUBLIC fortran_stdlib) +#add_library(eesunhong_recipes_replacements OBJECT src/eesunhong_recipes_replacements.f90) +#target_link_libraries(eesunhong_recipes_replacements PUBLIC fortran_stdlib) #add_library(eesunhong_fortran_library SHARED $ $) #target_link_libraries(eesunhong_fortran_library PUBLIC fortran_stdlib)