diff --git a/CMakeLists.txt b/CMakeLists.txt index 6e9cc6c..6a83503 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -74,7 +74,7 @@ install_basic_package_files(${PROJECT_NAME} NO_SET_AND_CHECK_MACRO VARS_PREFIX ${PROJECT_NAME} NO_CHECK_REQUIRED_COMPONENTS_MACRO - DEPENDENCIES assimp GLEW GLFW3 OpenCV) + DEPENDENCIES assimp "GLEW CONFIG" GLFW3 OpenCV) # Add the uninstall target include(AddUninstallTarget) diff --git a/src/SuperimposeMesh/CMakeLists.txt b/src/SuperimposeMesh/CMakeLists.txt index a9b249c..d2e82da 100644 --- a/src/SuperimposeMesh/CMakeLists.txt +++ b/src/SuperimposeMesh/CMakeLists.txt @@ -19,7 +19,7 @@ set(${LIBRARY_TARGET_NAME}_HDR # Depndencies find_package(assimp REQUIRED) -find_package(glew REQUIRED) +find_package(glew REQUIRED CONFIG) find_package(glfw3 REQUIRED) find_package(glm REQUIRED) find_package(OpenCV REQUIRED)