Skip to content

Commit

Permalink
Getting weird Eigen find_package results due to find_package using th…
Browse files Browse the repository at this point in the history
…e User Package Registry with stale info... disable looking there
  • Loading branch information
starseeker committed Apr 16, 2024
1 parent 3ff543a commit 3ffd84b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,11 @@ endif(BRLCAD_PRINT_MSGS)
# do this early in the process.
include(BRLCAD_Environment_Setup)

# We do NOT want CMake looking in the User Package Registry - have encountered
# at least one case where stale or incorrect information there has resulted in
# an incorrect include directory for Eigen based on bext build info.
set(CMAKE_FIND_USE_PACKAGE_REGISTRY FALSE)

# Populate these early, even though their main use is in
# misc/CMake/BRLCAD_ExternalDeps.cmake - find_program and find_package calls
# may also make use of them, particularly BRLCAD_EXT_NOINSTALL_DIR
Expand Down

0 comments on commit 3ffd84b

Please sign in to comment.