From 09a51ecdd5b36431a1d3c9d369cc8d74ef5e9d37 Mon Sep 17 00:00:00 2001 From: Paolo Tranquilli Date: Thu, 27 Oct 2022 09:32:05 +0200 Subject: [PATCH] Swift: fix cmake generator on Linux --- swift/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/swift/CMakeLists.txt b/swift/CMakeLists.txt index c04a8378661..ad431e49a17 100644 --- a/swift/CMakeLists.txt +++ b/swift/CMakeLists.txt @@ -14,4 +14,6 @@ project(codeql) include(../misc/bazel/cmake/setup.cmake) include_generated(//swift/extractor:cmake) -include_generated(//swift/xcode-autobuilder:cmake) +if (APPLE) + include_generated(//swift/xcode-autobuilder:cmake) +endif ()