[flang-commits] [flang] 287f201 - [flang] Fix for 541f5c4a6db35870091dd15dfa09dde751229a17 (D140524) breaking out-of-tree flang build.

Hussain Kadhem via flang-commits flang-commits at lists.llvm.org
Sat Jun 3 06:20:32 PDT 2023


Author: Hussain Kadhem
Date: 2023-06-03T15:19:01+02:00
New Revision: 287f201f9db866a10b4c4f9f6fe65c9d68525983

URL: https://github.com/llvm/llvm-project/commit/287f201f9db866a10b4c4f9f6fe65c9d68525983
DIFF: https://github.com/llvm/llvm-project/commit/287f201f9db866a10b4c4f9f6fe65c9d68525983.diff

LOG: [flang] Fix for 541f5c4a6db35870091dd15dfa09dde751229a17 (D140524) breaking out-of-tree flang build.

Added: 
    

Modified: 
    flang/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/flang/CMakeLists.txt b/flang/CMakeLists.txt
index 4c0b9a84cc5b..ac30da89995e 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")


        


More information about the flang-commits mailing list