Skip to content

Commit

Permalink
fixing pyuda build on freia (centOS 7) which requires FMT_ROOT/lib64 …
Browse files Browse the repository at this point in the history
…instead of /lib
  • Loading branch information
stephen-dixon committed Jan 22, 2025
1 parent f43855a commit b8f4363
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion source/wrappers/python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,13 @@ if ( WIN32 )
else()
get_filename_component( FMT_ROOT_DIR "${fmt_CONFIG}/../../../../" ABSOLUTE )
set( FMT_INCLUDE_DIR ${FMT_ROOT_DIR}/include )
set( FMT_LIB_DIR ${FMT_ROOT_DIR}/lib )

find_library( FMT_LIB_FILE NAMES fmt
HINTS
${FMT_ROOT_DIR}
PATH_SUFFIXES lib lib64 )
get_filename_component( FMT_LIB_DIR ${FMT_LIB_FILE} DIRECTORY )

get_filename_component( OPENSSL_LIB_DIR "${OPENSSL_SSL_LIBRARY}" DIRECTORY )
get_filename_component( LIBXML_LIB_DIR "${LIBXML2_LIBRARIES}" DIRECTORY )
endif()
Expand Down

0 comments on commit b8f4363

Please sign in to comment.