From 0ef7dba9898a51ec6b01a02f80e7f6e0f9dc24cb Mon Sep 17 00:00:00 2001 From: Bryan <> Date: Wed, 28 Feb 2024 11:33:01 -0500 Subject: [PATCH] append target to EXECUTABLES list in add_obbec_exevutable macro; fixes install bug referenced in issue #22 --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index f67b32e6..2abe0f89 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -218,6 +218,7 @@ macro(add_orbbec_executable TARGET SOURCES) add_executable(${TARGET} ${SOURCES}) target_link_libraries(${TARGET} ${COMMON_LINK_LIBRARIES} ${PROJECT_NAME}) target_include_directories(${TARGET} PUBLIC ${COMMON_INCLUDE_DIRS}) + list(APPEND EXECUTABLES ${TARGET}) endmacro() # Add nodes