]> Creatis software - gdcm.git/blobdiff - CMakeLists.txt
*FIX: Some compilation problem on SunOS with no ANSI STRING STREAM
[gdcm.git] / CMakeLists.txt
index 24314973602fc5a90043e2228ccd95da0740bd23..afd1704532377114b0b38992efc4f4b79345108a 100644 (file)
@@ -26,6 +26,15 @@ SET(CMAKE_CONFIGURATION_TYPES
 )\r
 SET(CMAKE_BUILD_TYPE_INIT Debug)\r
 \r
+# Deals with problem on SunOS:\r
+# ostrstream vs. ostringstream\r
+\r
+#SET(GDCM_NO_ANSI_STRING_STREAM\r
+#  ${CMAKE_NO_ANSI_STRING_STREAM}\r
+#)\r
+#CONFIGURE_FILE(${GDCM_SOURCE_DIR}/src/gdcmCommon.h.in\r
+#               ${GDCM_BINARY_DIR}/src/gdcmCommon.h @ONLY IMMEDIATE)\r
+\r
 #-----------------------------------------------------------------------------\r
 # Output directories.\r
 #Put all stuff in one single dir for Win32, otherwise dll are a pain:\r