Skip to content

Commit 0b94cdc

Browse files
committed
Fixing pyuda build when libgsl is found.
1 parent 39cb307 commit 0b94cdc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

source/wrappers/python/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ else()
3535
set( CAPNP_FLAG "False" )
3636
endif()
3737

38+
find_package( GSL )
39+
if( GSL_FOUND )
40+
list( APPEND EXTRA_LIBS gsl )
41+
endif()
42+
3843
get_filename_component( FMT_ROOT_DIR "${fmt_CONFIG}/../../../../" ABSOLUTE )
3944
set( FMT_INCLUDE_DIR ${FMT_ROOT_DIR}/include )
4045
set( FMT_LIB_DIR ${FMT_ROOT_DIR}/lib64 )

0 commit comments

Comments
 (0)