Skip to content

Commit 2bffd65

Browse files
fix CMake find package glm
`glm` is not found if glm installs the cmake files into `lib64/cmake/glm`
1 parent b8c66ba commit 2bffd65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ISAACConfig.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ set(ISAAC_LIBRARIES ${ISAAC_LIBRARIES} "alpaka::alpaka")
194194
################################################################################
195195
# GLM LIB
196196
################################################################################
197-
find_package(glm REQUIRED)
197+
find_package(glm REQUIRED PATH_SUFFIXES "lib64/cmake/glm/" "lib/cmake/glm/")
198198
set(ISAAC_LIBRARIES ${ISAAC_LIBRARIES} glm::glm)
199199

200200

0 commit comments

Comments
 (0)