diff options
-rw-r--r-- | runtimes/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runtimes/CMakeLists.txt b/runtimes/CMakeLists.txt index 3f9febc385a..bbdebff2e5e 100644 --- a/runtimes/CMakeLists.txt +++ b/runtimes/CMakeLists.txt @@ -48,6 +48,10 @@ if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}) # The subdirectories need to treat this as standalone builds set(${canon_name}_STANDALONE_BUILD On) + # Setting a variable to let sub-projects detect which other projects + # will be included under here. + set(HAVE_${canon_name} On) + add_subdirectory(${projName}) endforeach() |