diff options
author | Albert Astals Cid <aacid@kde.org> | 2024-03-03 15:36:15 +0100 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2024-03-03 15:45:50 +0100 |
commit | 23a3e5144e9fe5329b99b26879856e9ca3db769d (patch) | |
tree | a1f4997b4dcf91d96d08b96980732b696c69e851 | |
parent | 840fc7637d93d40e09c7792086c96ba94811fb1f (diff) |
Fix srcdir=builddir build
cmake will create folders which so we need to ignore those
-rw-r--r-- | utils/po/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/po/CMakeLists.txt b/utils/po/CMakeLists.txt index d9fca3c5..5cd3a903 100644 --- a/utils/po/CMakeLists.txt +++ b/utils/po/CMakeLists.txt @@ -1,6 +1,6 @@ file(GLOB _files "${CMAKE_CURRENT_SOURCE_DIR}/*") foreach (_dir ${_files}) - if (IS_DIRECTORY "${_dir}") + if (IS_DIRECTORY "${_dir}" AND EXISTS "${_dir}/CMakeLists.txt") add_subdirectory("${_dir}") get_filename_component(_lang ${_dir} NAME) list(APPEND _langs ${_lang}) |