Include std/internal in Phobos build.

Previously, std.internal.processinit was missing, leading to linker errors on OS X. All platform-specific stuff is wrapped in version() blocks, so we should be fine.
This commit is contained in:
David Nadlinger
2011-11-12 22:35:28 +01:00
parent 2c7f77eabd
commit ef748a9de0

View File

@@ -111,7 +111,7 @@ elseif(D_VERSION EQUAL 2)
if(PHOBOS2_DIR)
file(GLOB PHOBOS2_D ${PHOBOS2_DIR}/std/*.d)
file(GLOB PHOBOS2_D_MATH ${PHOBOS2_DIR}/std/internal/math/*.d)
file(GLOB_RECURSE PHOBOS2_D_INTERNAL ${PHOBOS2_DIR}/std/internal/*.d)
file(GLOB PHOBOS2_D_C ${PHOBOS2_DIR}/std/c/*.d)
if(UNIX)
file(GLOB PHOBOS2_D_C_SYS ${PHOBOS2_DIR}/std/c/linux/*.d)
@@ -130,7 +130,7 @@ elseif(D_VERSION EQUAL 2)
file(GLOB PHOBOS2_D_WIN ${PHOBOS2_DIR}/std/windows/*.d)
endif(WIN32)
list(APPEND PHOBOS2_D
${PHOBOS2_D_MATH}
${PHOBOS2_D_INTERNAL}
${PHOBOS2_D_WIN}
${PHOBOS2_D_C}
${PHOBOS2_D_C_SYS}