Skip to content

Commit

Permalink
set properties to search in non-standard locations
Browse files Browse the repository at this point in the history
  • Loading branch information
white238 committed Feb 22, 2024
1 parent 1aa0482 commit d5a13bd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions SetupBLT.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,13 @@ if (NOT BLT_LOADED)
cmake_policy(SET CMP0076 OLD)
endif()

################################
# Enable various find commands to look in non-default paths
################################
set_property(GLOBAL PROPERTY FIND_LIBRARY_USE_LIB32_PATHS TRUE)
set_property(GLOBAL PROPERTY FIND_LIBRARY_USE_LIB64_PATHS TRUE)
set_property(GLOBAL PROPERTY FIND_LIBRARY_USE_LIBX32_PATHS TRUE)

################################
# Invoke CMake Fortran setup
# if ENABLE_FORTRAN == ON
Expand Down

0 comments on commit d5a13bd

Please sign in to comment.