Pārlūkot izejas kodu

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.

Brad King 20 gadi atpakaļ
vecāks
revīzija
e26bafa52a

+ 4 - 3
Source/CursesDialog/form/CMakeLists.txt

@@ -51,7 +51,8 @@ IF(CURSES_EXTRA_LIBRARY)
   TARGET_LINK_LIBRARIES(cmForm ${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.
-CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/internal_stdio_core.h.in
-               ${CMAKE_CURRENT_BINARY_DIR}/internal/stdio_core.h
-               @ONLY IMMEDIATE)
+#CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/internal_stdio_core.h.in
+#               ${CMAKE_CURRENT_BINARY_DIR}/internal/stdio_core.h
+#               @ONLY IMMEDIATE)

+ 4 - 3
Utilities/cmxmlrpc/CMakeLists.txt

@@ -77,10 +77,11 @@ CONFIGURE_FILE(
   "${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.
-CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/internal_stdio_core.h.in
-               ${CMAKE_CURRENT_BINARY_DIR}/internal/stdio_core.h
-               @ONLY IMMEDIATE)
+#CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/internal_stdio_core.h.in
+#               ${CMAKE_CURRENT_BINARY_DIR}/internal/stdio_core.h
+#               @ONLY IMMEDIATE)
 
 SET(xmlrpc_SRCS
   #XmlRpcCpp.cpp