Skip to content

Commit

Permalink
Fixing pyuda build when libgsl is found.
Browse files Browse the repository at this point in the history
  • Loading branch information
jholloc committed Dec 4, 2023
1 parent 39cb307 commit 0b94cdc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions source/wrappers/python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ else()
set( CAPNP_FLAG "False" )
endif()

find_package( GSL )
if( GSL_FOUND )
list( APPEND EXTRA_LIBS gsl )
endif()

get_filename_component( FMT_ROOT_DIR "${fmt_CONFIG}/../../../../" ABSOLUTE )
set( FMT_INCLUDE_DIR ${FMT_ROOT_DIR}/include )
set( FMT_LIB_DIR ${FMT_ROOT_DIR}/lib64 )
Expand Down

0 comments on commit 0b94cdc

Please sign in to comment.