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()