mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -04:00
Update GSL to latest version
This commit is contained in:
parent
dfe4d911b5
commit
f91d691288
2 changed files with 4 additions and 3 deletions
|
|
@ -161,7 +161,8 @@ target_link_libraries(xtensor INTERFACE xtl)
|
|||
add_subdirectory(vendor/gsl-lite)
|
||||
|
||||
# Make sure contract violations throw exceptions
|
||||
target_compile_definitions(gsl-lite INTERFACE GSL_THROW_ON_CONTRACT_VIOLATION)
|
||||
target_compile_definitions(gsl-lite-v1 INTERFACE GSL_THROW_ON_CONTRACT_VIOLATION)
|
||||
target_compile_definitions(gsl-lite-v1 INTERFACE gsl_CONFIG_ALLOWS_NONSTRICT_SPAN_COMPARISON=1)
|
||||
|
||||
#===============================================================================
|
||||
# RPATH information
|
||||
|
|
@ -345,7 +346,7 @@ endif()
|
|||
# target_link_libraries treats any arguments starting with - but not -l as
|
||||
# linker flags. Thus, we can pass both linker flags and libraries together.
|
||||
target_link_libraries(libopenmc ${ldflags} ${HDF5_LIBRARIES} ${HDF5_HL_LIBRARIES}
|
||||
pugixml faddeeva xtensor gsl-lite)
|
||||
pugixml faddeeva xtensor gsl-lite-v1)
|
||||
|
||||
if(dagmc)
|
||||
target_compile_definitions(libopenmc PRIVATE DAGMC)
|
||||
|
|
|
|||
2
vendor/gsl-lite
vendored
2
vendor/gsl-lite
vendored
|
|
@ -1 +1 @@
|
|||
Subproject commit 93607223a48621dae3cedd6b3335431b38067fae
|
||||
Subproject commit a5706326ed116c315c0e12b72ed39439aff2222f
|
||||
Loading…
Add table
Add a link
Reference in a new issue