Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixes #453 :: allow installation of standalone version

  • Loading branch information...
commit 9e59fea83ecd9e7ebfb1c6493478fe511adae8f8 1 parent 240dbdc
@mwarning mwarning authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  CMakeLists.txt
View
3  CMakeLists.txt
@@ -59,6 +59,7 @@ execute_process(
)
set(D_VERSION 1 CACHE STRING "D language version")
+set(CONF_INST_DIR "${CMAKE_INSTALL_PREFIX}/etc" CACHE STRING "set ldc.conf directory for installation")
set(PROGRAM_PREFIX CACHE STRING "prepended to ldc binary name")
set(PROGRAM_SUFFIX CACHE STRING "appended to ldc binary name")
option(USE_BOEHM_GC "use the Boehm garbage collector internally")
@@ -200,7 +201,6 @@ add_definitions(
if(UNIX)
add_definitions(-DPOSIX)
- set(CONF_INST_DIR /etc)
endif(UNIX)
if(USE_BOEHM_GC)
@@ -242,7 +242,6 @@ set_target_properties(
target_link_libraries(${LDC_EXE} "${LLVM_LDFLAGS} ${LLVM_LIBS}" ${LIBCONFIG_LDFLAGS} config++)
if(WIN32)
target_link_libraries(${LDC_EXE} imagehlp psapi)
- set(CONF_INST_DIR /etc)
endif(WIN32)
if(USE_BOEHM_GC)
Please sign in to comment.
Something went wrong with that request. Please try again.