[Pkg-owncloud-commits] [qtkeychain] 25/115: Fix MSVC debug build. Do not mix -Od and -O2, MSVC does not allow that.
Sandro Knauß
hefee-guest at moszumanska.debian.org
Sat Mar 15 19:25:43 UTC 2014
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch master
in repository qtkeychain.
commit 1db778bb56b4b64c426495b8cf48194307736472
Author: Frank Osterfeld <osterfeld at kde.org>
Date: Sat May 5 08:54:06 2012 +0200
Fix MSVC debug build.
Do not mix -Od and -O2, MSVC does not allow that.
---
CMakeLists.txt | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8a0adfe..55fa1b2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -16,8 +16,10 @@ set(qtkeychain_SOURCES
if(WIN32)
list(APPEND qtkeychain_SOURCES keychain_win.cpp)
list(APPEND qtkeychain_LIBRARIES crypt32)
- #FIXME: only needed on mingw? otherwise getting undefined refs to RtlSecureZeroMemory there
- add_definitions( -O2 )
+ #FIXME: mingw bug; otherwise getting undefined refs to RtlSecureZeroMemory there
+ if(MINGW)
+ add_definitions( -O2 )
+ endif()
endif()
if(APPLE)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/qtkeychain.git
More information about the Pkg-owncloud-commits
mailing list