Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use GLFW3 all caps to avoid issues on Windows #1598

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion cmake/BuildiDynTree.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@ endif()
# is modified to includ it
find_package(glfw3 QUIET)

# See https://github.com/robotology/robotology-superbuild/pull/1598#issuecomment-1942172913
if(glfw3_FOUND OR GLFW3_FOUND)
set(IDYNTREE_USES_IRRLICHT ON)
else()
set(IDYNTREE_USES_IRRLICHT OFF)
endif()


ycm_ep_helper(iDynTree TYPE GIT
STYLE GITHUB
REPOSITORY robotology/idyntree.git
Expand All @@ -34,7 +42,7 @@ ycm_ep_helper(iDynTree TYPE GIT
FOLDER src
CMAKE_ARGS -DIDYNTREE_USES_IPOPT:BOOL=ON
-DIDYNTREE_USES_OSQPEIGEN:BOOL=ON
-DIDYNTREE_USES_IRRLICHT:BOOL=${glfw3_FOUND}
-DIDYNTREE_USES_IRRLICHT:BOOL=${IDYNTREE_USES_IRRLICHT}
-DIDYNTREE_USES_ASSIMP:BOOL=ON
-DCMAKE_DISABLE_FIND_PACKAGE_YARP:BOOL=ON
-DIDYNTREE_USES_YARP:BOOL=OFF
Expand Down
Loading