diff --git a/tools/k4aviewer/CMakeLists.txt b/tools/k4aviewer/CMakeLists.txt index 6ab38d9..e0c5bad 100644 --- a/tools/k4aviewer/CMakeLists.txt +++ b/tools/k4aviewer/CMakeLists.txt @@ -35,6 +35,8 @@ set(SOURCE_FILES k4awindowset.cpp perfcounter.cpp ${CMAKE_CURRENT_BINARY_DIR}/version.rc + ${IMGUI_EXTERNAL_PATH}/imgui_impl_glfw.cpp + ${IMGUI_EXTERNAL_PATH}/imgui_impl_opengl3.cpp ) # Include ${CMAKE_CURRENT_BINARY_DIR}/version.rc in the target's sources @@ -54,6 +56,8 @@ include_directories( ${CMAKE_CURRENT_LIST_DIR} ) +find_package(GLEW REQUIRED) + set(EXTERNAL_LIBRARIES k4a::k4a k4a::k4arecord @@ -65,6 +69,7 @@ set(EXTERNAL_LIBRARIES glfw ${OPENGL_LIBRARIES} unofficial::gl3w::gl3w + GLEW::GLEW ) # On Windows, we need to call into setupapi to get USB container ID information diff --git a/tools/k4aviewer/k4aimgui_all.h b/tools/k4aviewer/k4aimgui_all.h index e40ccfb..756fb09 100644 --- a/tools/k4aviewer/k4aimgui_all.h +++ b/tools/k4aviewer/k4aimgui_all.h @@ -34,8 +34,8 @@ #include #include #include -#include -#include +#include +#include // For disabling buttons, which has not yet been promoted to the public API //