diff options
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/common.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/common.cmake b/cmake/common.cmake index 02ef1a4..65285a1 100644 --- a/cmake/common.cmake +++ b/cmake/common.cmake @@ -85,6 +85,8 @@ foreach(file ${system_cmakefiles} ${home_cmakefiles} ${project_cmakefiles}) include(${file}) endforeach() +prevent_in_source_build() + if(DEFINED PROJECT_SRC_DIR_PATTERN) project_subdirs_add(${PROJECT_SRC_DIR_PATTERN}) else() |