Added lang key subsets guard for non-Ninja generators.

This commit is contained in:
23rd
2026-07-16 16:36:01 +03:00
parent 00ddea6518
commit 90fa686c70
+1 -1
View File
@@ -33,7 +33,7 @@ function(generate_lang target_name lang_file src_loc)
)
generate_target(${target_name} lang ${gen_timestamp} "${gen_files}" ${gen_dst})
if (NOT CMAKE_GENERATOR STREQUAL "Xcode")
if (CMAKE_GENERATOR STREQUAL "Ninja")
file(GLOB_RECURSE lang_sources CONFIGURE_DEPENDS
${src_loc}/*.cpp
${src_loc}/*.h