From 287f201f9db866a10b4c4f9f6fe65c9d68525983 Mon Sep 17 00:00:00 2001 From: Hussain Kadhem Date: Sat, 3 Jun 2023 15:13:09 +0200 Subject: [PATCH] [flang] Fix for 541f5c4a6db35870091dd15dfa09dde751229a17 (D140524) breaking out-of-tree flang build. --- flang/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/flang/CMakeLists.txt b/flang/CMakeLists.txt index 4c0b9a8..ac30da8 100644 --- a/flang/CMakeLists.txt +++ b/flang/CMakeLists.txt @@ -62,6 +62,7 @@ endif() if (FLANG_STANDALONE_BUILD) set(FLANG_BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}) + set(CMAKE_INCLUDE_CURRENT_DIR ON) if (NOT MSVC_IDE) set(LLVM_ENABLE_ASSERTIONS ${ENABLE_ASSERTIONS} CACHE BOOL "Enable assertions") -- 2.7.4