[PATCH] D49672: [CMake] Honor LLVM_EXTERNAL_<proj>_SOURCE_DIR

David Greene via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 22 13:19:31 PST 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL354693: [CMake] Honor LLVM_EXTERNAL_<proj>_SOURCE_DIR (authored by greened, committed by ).
Herald added a project: LLVM.

Changed prior to commit:
  https://reviews.llvm.org/D49672?vs=180511&id=187976#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D49672/new/

https://reviews.llvm.org/D49672

Files:
  llvm/trunk/CMakeLists.txt


Index: llvm/trunk/CMakeLists.txt
===================================================================
--- llvm/trunk/CMakeLists.txt
+++ llvm/trunk/CMakeLists.txt
@@ -140,7 +140,7 @@
       if(NOT EXISTS "${PROJ_DIR}" OR NOT IS_DIRECTORY "${PROJ_DIR}")
         message(FATAL_ERROR "LLVM_ENABLE_PROJECTS requests ${proj} but directory not found: ${PROJ_DIR}")
       endif()
-      set(LLVM_EXTERNAL_${upper_proj}_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../${proj}")
+      set(LLVM_EXTERNAL_${upper_proj}_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../${proj}" CACHE STRING "")
     else()
       message(STATUS "${proj} project is disabled")
       set(SHOULD_ENABLE_PROJECT FALSE)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49672.187976.patch
Type: text/x-patch
Size: 678 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190222/e69b1138/attachment.bin>


More information about the llvm-commits mailing list