mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-03 21:43:14 +01:00
Install D1 runtime files only if building LDC1.
Previously, some D2 runtime files were overwritten by them (notably ldc.intrinsics, see #18).
This commit is contained in:
@@ -308,8 +308,8 @@ if(D_VERSION EQUAL 2)
|
||||
install(DIRECTORY ${PROJECT_SOURCE_DIR}/${RUNTIME}/import/ldc DESTINATION ${INCLUDE_INSTALL_DIR})
|
||||
else(D_VERSION EQUAL 2)
|
||||
install(DIRECTORY ${PROJECT_SOURCE_DIR}/${RUNTIME}/internal/ldc/ DESTINATION ${INCLUDE_INSTALL_DIR}/ldc)
|
||||
install(DIRECTORY ${PROJECT_SOURCE_DIR}/runtime/import/ldc DESTINATION ${INCLUDE_INSTALL_DIR})
|
||||
endif(D_VERSION EQUAL 2)
|
||||
install(DIRECTORY ${PROJECT_SOURCE_DIR}/runtime/import/ldc DESTINATION ${INCLUDE_INSTALL_DIR})
|
||||
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
||||
install(DIRECTORY bash_completion.d DESTINATION ${CONF_INST_DIR})
|
||||
endif(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
||||
|
||||
Reference in New Issue
Block a user