Skip to content

Commit

Permalink
Remove again
Browse files Browse the repository at this point in the history
  • Loading branch information
golmschenk committed Oct 21, 2023
1 parent 11b3ee0 commit ab99d45
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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_OBJECTS:eesunhong_recipes_replacements> $<TARGET_OBJECTS:roots>)
#target_link_libraries(eesunhong_fortran_library PUBLIC fortran_stdlib)
Expand Down

0 comments on commit ab99d45

Please sign in to comment.