From 7723113fe8ec363ef13df1e040273938a67b2ac5 Mon Sep 17 00:00:00 2001 From: Jesse Qu Date: Thu, 8 Jan 2026 11:54:35 +0800 Subject: [PATCH] fixups --- PropertyEditor/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/PropertyEditor/CMakeLists.txt b/PropertyEditor/CMakeLists.txt index 3a190ce..d3b5db5 100644 --- a/PropertyEditor/CMakeLists.txt +++ b/PropertyEditor/CMakeLists.txt @@ -55,4 +55,6 @@ set_target_properties( ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/${pd_PlatformDir}/lib" ) -add_subdirectory(example) +if(PROJECT_IS_TOP_LEVEL) + add_subdirectory(example) +endif()