mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-20 14:53:14 +01:00
Revert "Do not override INCLUDE_INSTALL_DIR."
This reverts commit f832668bba.
The problem is in the ebuild and fixed there.
This commit is contained in:
@@ -10,17 +10,11 @@ set(DMDFE_MINOR_VERSION 0)
|
||||
set(DMDFE_PATCH_VERSION 60)
|
||||
set(DMDFE_VERSION ${D_VERSION}.${DMDFE_MINOR_VERSION}.${DMDFE_PATCH_VERSION})
|
||||
|
||||
if(INCLUDE_INSTALL_DIR)
|
||||
set(INCLUDE_INSTALL_DIR_DEFAULT ${INCLUDE_INSTALL_DIR})
|
||||
else()
|
||||
set(INCLUDE_INSTALL_DIR_DEFAULT ${CMAKE_INSTALL_PREFIX}/include/d)
|
||||
endif()
|
||||
|
||||
set(MULTILIB OFF CACHE BOOL "Build both 32/64 bit runtime libraries")
|
||||
set(BUILD_BC_LIBS OFF CACHE BOOL "Build the runtime as LLVM bitcode libraries")
|
||||
set(BUILD_SINGLE_LIB ON CACHE BOOL "Build single runtime library (no core/rt/gc split)")
|
||||
set(LIB_SUFFIX "" CACHE STRING "'64' to install libraries into ${PREFIX}/lib64")
|
||||
set(INCLUDE_INSTALL_DIR ${INCLUDE_INSTALL_DIR_DEFAULT} CACHE PATH "Path to install D modules to")
|
||||
set(INCLUDE_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/include/d CACHE PATH "Path to install D modules to")
|
||||
set(BUILD_SHARED_LIBS OFF CACHE BOOL "Whether to build the runtime as a shared library (*UNSUPPORTED*)")
|
||||
set(D_FLAGS -w;-d CACHE STRING "Runtime build flags, separated by ;")
|
||||
set(D_FLAGS_DEBUG -g CACHE STRING "Runtime build flags (debug libraries), separated by ;")
|
||||
|
||||
Reference in New Issue
Block a user