From b7573071c720e9a44335218f5163e9fb68ad6d6e Mon Sep 17 00:00:00 2001 From: Thales Lima Oliveira Date: Wed, 16 Oct 2019 00:38:34 -0300 Subject: Update CMakeLists.txt --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 231f31e..2d622ca 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,6 +17,8 @@ find_package(OpenGL REQUIRED) find_package(GLUT REQUIRED) include(${wxWidgets_USE_FILE}) include_directories( ${OPENGL_INCLUDE_DIRS} ${GLUT_INCLUDE_DIRS} ) +add_definitions(${OpenGL_DEFINITIONS}) +add_definitions(${GLUT_DEFINITIONS}) message(STATUS "CMAKE_BUILD_TYPE:${CMAKE_BUILD_TYPE}") message(STATUS "wxWidgets_INCLUDE_DIRS : ${wxWidgets_INCLUDE_DIRS}") -- cgit