Hi all,

I have attached a patch as per the subject to this e-mail.

Please review it and if accepted, please apply it (separately)
to the public repository, otherwise please tell me why not.

Best regards, mabri

P.S. I meant to post this on Tuesday, sorry.
Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt	(revision 1687)
+++ CMakeLists.txt	(working copy)
@@ -35,7 +35,14 @@
 # variable here that we require to be set elsewhere, otherwise we'll complain.
 SET(PODOFO_MAIN_CMAKELISTS_READ TRUE)
 
+# IF(DEFINED WANT_BASE_ONLY)
+#     SET(WANT_BASE_ONLY ${WANT_BASE_ONLY})
+# ENDIF(DEFINED WANT_BASE_ONLY)
 
+IF(WANT_BASE_ONLY)
+    SET(WANT_BASE_ONLY TRUE) 
+ENDIF(WANT_BASE_ONLY)
+
 # If the user hasn't told use specifically what they want, build only
 # a static library.
 IF(NOT DEFINED PODOFO_BUILD_SHARED AND NOT DEFINED PODOFO_BUILD_STATIC)
@@ -285,13 +292,7 @@
         SET(PODOFO_USE_VISIBILITY ${PODOFO_HAVE_GCC4})
     ENDIF(NOT DEFINED PODOFO_USE_VISIBILITY)
 
-    # We can't request C++98 compliance on win32, because mingw
-    # will hide _tzset() and _timezone, which we need for PdfDate.
-    # At least until that code is replaced with something better,
-    # just don't enable it on win32.
-    IF(NOT WIN32)
-        ADD_DEFINITIONS(-std=c++98)
-    ENDIF(NOT WIN32)
+    ADD_DEFINITIONS(-std=c++98)
 
     ADD_DEFINITIONS(
         -Wall
------------------------------------------------------------------------------
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to