# HG changeset patch # User Christian Kamm # Date 1244982491 -7200 # Node ID 899a928ac9056953bfec91ff370f8179696ebd85 # Parent d9d50163e1a45162995a37fc3a361766302e4863 Set the default RUNTIME_DIR to be side-by-side of the ldc source dir. diff -r d9d50163e1a4 -r 899a928ac905 runtime/CMakeLists.txt --- a/runtime/CMakeLists.txt Sun Jun 14 12:27:51 2009 +0200 +++ b/runtime/CMakeLists.txt Sun Jun 14 14:28:11 2009 +0200 @@ -20,7 +20,7 @@ message(FATAL_ERROR "set d version to 1 or 2") endif(D_VERSION EQUAL 1) get_directory_property(PROJECT_PARENT_DIR DIRECTORY ${PROJECT_SOURCE_DIR} PARENT_DIRECTORY) -set(RUNTIME_DIR ${PROJECT_BINARY_DIR}/../${RUNTIME} CACHE PATH "runtime source dir") +set(RUNTIME_DIR ${PROJECT_PARENT_DIR}/../${RUNTIME} CACHE PATH "runtime source dir") if(D_VERSION EQUAL 1) # copy imports to runtime dir