From f7e2b7eec693a7467ef6d9a4a2613f600822dc27 Mon Sep 17 00:00:00 2001 From: Alexey Prokhin Date: Wed, 23 Feb 2011 20:49:00 +0300 Subject: [PATCH] CMake: Add PHOBOS2_DIR to cache, so it would be accessible using ccmake --- runtime/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/runtime/CMakeLists.txt b/runtime/CMakeLists.txt index 817bc91a..92986e24 100644 --- a/runtime/CMakeLists.txt +++ b/runtime/CMakeLists.txt @@ -58,6 +58,7 @@ if(D_VERSION EQUAL 1) file(GLOB DCRT_C ${RUNTIME_DC_DIR}/*.c) set(CONFIG_NAME ${LDC_EXE}) elseif(D_VERSION EQUAL 2) + set(PHOBOS2_DIR ${PROJECT_PARENT_DIR}/../${RUNTIME} CACHE PATH "phobos2 source dir") set(RUNTIME_CC druntime-core) set(RUNTIME_GC druntime-gc-basic) set(RUNTIME_DC druntime-rt-ldc)