[poppler] cmake/modules
Pino Toscano
pino at kemper.freedesktop.org
Wed Jan 30 15:21:22 PST 2008
cmake/modules/PopplerMacros.cmake | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit ecabc9469b137e8251344e5502de1cbf875223b9
Author: Pino Toscano <pino at kde.org>
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)
More information about the poppler
mailing list