From 2aa3e8d4d881f5992bddea5721cb4cfb4af24fc8 Mon Sep 17 00:00:00 2001 From: Arun-Prasad-V Date: Thu, 18 Jan 2024 19:42:21 +0530 Subject: [PATCH] Marking the Align-GL example not supported for MacOS --- examples/align-gl/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/examples/align-gl/CMakeLists.txt b/examples/align-gl/CMakeLists.txt index 3cfb6a26e0..565084e289 100644 --- a/examples/align-gl/CMakeLists.txt +++ b/examples/align-gl/CMakeLists.txt @@ -5,7 +5,10 @@ cmake_minimum_required(VERSION 3.1.0) project(RealsenseExamplesAlignGl ) -if(BUILD_GRAPHICAL_EXAMPLES) +# Save the command line compile commands in the build output +set(CMAKE_EXPORT_COMPILE_COMMANDS 1) + +if(BUILD_GRAPHICAL_EXAMPLES AND NOT APPLE) add_executable(rs-align-gl rs-align-gl.cpp ../../third-party/imgui/imgui.cpp ../../third-party/imgui/imgui_draw.cpp ../../third-party/imgui/imgui_impl_glfw.cpp) set_property(TARGET rs-align-gl PROPERTY CXX_STANDARD 11) target_link_libraries(rs-align-gl ${DEPENDENCIES} realsense2-gl)