cmake/modules/PopplerMacros.cmake | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit ecabc9469b137e8251344e5502de1cbf875223b9
Author: Pino Toscano <[EMAIL PROTECTED]>
Date: Thu Jan 31 00:20:55 2008 +0100
Set RelWithDebInfo as default build type, if not specified.
diff --git a/cmake/modules/PopplerMacros.cmake
b/cmake/modules/PopplerMacros.cmake
index f2a5290..a0a7c27 100644
--- a/cmake/modules/PopplerMacros.cmake
+++ b/cmake/modules/PopplerMacros.cmake
@@ -81,6 +81,10 @@ if(WIN32)
"${CMAKE_INSTALL_PREFIX}/bin" )
endif(WIN32)
+if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
+ set(CMAKE_BUILD_TYPE RelWithDebInfo)
+endif(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
+
if(CMAKE_COMPILER_IS_GNUCXX)
# set the default compile warnings
set(DEFAULT_COMPILE_WARNINGS_NO)
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler