BUG: Older SGI compilers still have internal/stdio_core.h but do not support #include_next. We'll have to try-compile to test whether this hack is needed.

This commit is contained in:
Brad King 2005-04-24 13:15:50 -04:00
parent d6f9fd9f4e
commit e26bafa52a
2 changed files with 8 additions and 6 deletions

View File

@ -51,7 +51,8 @@ IF(CURSES_EXTRA_LIBRARY)
TARGET_LINK_LIBRARIES(cmForm ${CURSES_EXTRA_LIBRARY}) TARGET_LINK_LIBRARIES(cmForm ${CURSES_EXTRA_LIBRARY})
ENDIF(CURSES_EXTRA_LIBRARY) ENDIF(CURSES_EXTRA_LIBRARY)
# DISABLING UNTIL A TRY-COMPILE CAN DETERMINE IF IT IS SAFE
# See internal_stdio_core.h.in for explanation. # See internal_stdio_core.h.in for explanation.
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/internal_stdio_core.h.in #CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/internal_stdio_core.h.in
${CMAKE_CURRENT_BINARY_DIR}/internal/stdio_core.h # ${CMAKE_CURRENT_BINARY_DIR}/internal/stdio_core.h
@ONLY IMMEDIATE) # @ONLY IMMEDIATE)

View File

@ -77,10 +77,11 @@ CONFIGURE_FILE(
"${CMAKE_CURRENT_BINARY_DIR}/xmlrpc_amconfig.h" "${CMAKE_CURRENT_BINARY_DIR}/xmlrpc_amconfig.h"
) )
# DISABLING UNTIL A TRY-COMPILE CAN DETERMINE IF IT IS SAFE
# See internal_stdio_core.h.in for explanation. # See internal_stdio_core.h.in for explanation.
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/internal_stdio_core.h.in #CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/internal_stdio_core.h.in
${CMAKE_CURRENT_BINARY_DIR}/internal/stdio_core.h # ${CMAKE_CURRENT_BINARY_DIR}/internal/stdio_core.h
@ONLY IMMEDIATE) # @ONLY IMMEDIATE)
SET(xmlrpc_SRCS SET(xmlrpc_SRCS
#XmlRpcCpp.cpp #XmlRpcCpp.cpp