Skip to content

Commit

Permalink
use YMC 0.13.0
Browse files Browse the repository at this point in the history
Update the way GLUT gets configured
  • Loading branch information
pattacini committed Jul 5, 2021
1 parent 10d6b31 commit 45844ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)

option(ICUB_COMPILE_BINDINGS "Compile optional language bindings" FALSE)

set(YCM_REQUIRED_VERSION 0.11.0)
set(YCM_REQUIRED_VERSION 0.13.0)
set(YARP_REQUIRED_VERSION 3.3.2)

find_package(YCM ${YCM_REQUIRED_VERSION} REQUIRED)
Expand Down
5 changes: 2 additions & 3 deletions src/tools/iCubGui/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ source_group("Generated Files" FILES ${iCubGui_QRC_GEN_SRCS}
${iCubGui_UI_GEN_SRCS})


include_directories(${GLUT_INCLUDE_DIRS}
${OpenGL_INCLUDE_DIRS}
include_directories(${OpenGL_INCLUDE_DIRS}
${Qt5_INCLUDE_DIRS})

set(CMAKE_INCLUDE_CURRENT_DIR TRUE)
Expand All @@ -68,7 +67,7 @@ target_compile_definitions(${PROJECT_NAME} PRIVATE ${QT_DEFINITIONS}
_USE_MATH_DEFINES
GLUT_NO_LIB_PRAGMA)

target_link_libraries(iCubGui ${GLUT_LIBRARIES}
target_link_libraries(iCubGui GLUT::GLUT
${OpenGL_LIBRARIES}
${YARP_LIBRARIES}
skinDynLib)
Expand Down

0 comments on commit 45844ce

Please sign in to comment.