Mercurial > projects > ldc
diff runtime/CMakeLists.txt @ 1498:899a928ac905
Set the default RUNTIME_DIR to be side-by-side of the ldc source dir.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sun, 14 Jun 2009 14:28:11 +0200 |
parents | 7a693c367190 |
children | 71ad691baeb2 |
line wrap: on
line diff
--- 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