Skip to content

Commit

Permalink
Fix Find HDILib For CMake 3.30 (#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
alxvth authored Oct 28, 2024
1 parent 7f817a7 commit 547eb0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ if(NOT HDILIB_ROOT)
message(FATAL_ERROR "Define HDILIB_ROOT")
endif()

find_package(HDILib COMPONENTS hdidimensionalityreduction hdiutils hdidata CONFIG REQUIRED)
find_package(HDILib COMPONENTS hdidimensionalityreduction hdiutils hdidata CONFIG REQUIRED PATHS ${HDILIB_ROOT})

if(${HDILib_FOUND})
message(STATUS "HDILib found at ${HDILIB_ROOT} with ${HDILib_LINK_LIBS}")
Expand Down

0 comments on commit 547eb0d

Please sign in to comment.