Move Faddeeva source into vendor/ directory

This commit is contained in:
Paul Romano 2018-06-20 07:27:59 -05:00
parent ca0f415de4
commit 514d8350a2
4 changed files with 2 additions and 2 deletions

View file

@ -320,7 +320,8 @@ endif()
# Build faddeeva library
#===============================================================================
add_library(faddeeva STATIC src/faddeeva/Faddeeva.c)
add_library(faddeeva STATIC vendor/faddeeva/Faddeeva.c)
target_compile_options(faddeeva PRIVATE ${cflags})
#===============================================================================
# List source files. Define the libopenmc and the OpenMC executable
@ -469,7 +470,6 @@ target_include_directories(libopenmc PUBLIC include ${HDF5_INCLUDE_DIRS})
# The executable and the faddeeva package use only one language. They can be
# set via target_compile_options which accepts a list.
target_compile_options(${program} PUBLIC ${cxxflags})
target_compile_options(faddeeva PRIVATE ${cflags})
# The libopenmc library has both F90 and C++ so the compile flags must be set
# file-by-file via set_source_file_properties. The compile flags must first be