Skip to content

Commit

Permalink
Add CONFIG parameter to glew package
Browse files Browse the repository at this point in the history
  • Loading branch information
claudiofantacci committed Mar 12, 2018
1 parent 8c477d8 commit f111a01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

This comment has been minimized.

Copy link
@traversaro

traversaro May 5, 2018

Member

I guess GLFW3 should be glfw3, see robotology/ycm-cmake-modules#133 .

This comment has been minimized.

Copy link
@claudiofantacci

claudiofantacci May 5, 2018

Author Collaborator

Thanks for spotting this!


# Add the uninstall target
include(AddUninstallTarget)
Expand Down
2 changes: 1 addition & 1 deletion src/SuperimposeMesh/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f111a01

Please sign in to comment.