[Pkg-owncloud-commits] [owncloud-client] 209/333: -fPIC is implied on Windows

Sandro Knauß hefee-guest at moszumanska.debian.org
Thu Apr 17 23:16:54 UTC 2014


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit dddec8b250aea77e3c95594256a6a76c2d5844cd
Author: Daniel Molkentin <danimo at owncloud.com>
Date:   Tue Mar 25 19:02:38 2014 +0100

    -fPIC is implied on Windows
---
 cmake/modules/QtVersionAbstraction.cmake | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/cmake/modules/QtVersionAbstraction.cmake b/cmake/modules/QtVersionAbstraction.cmake
index 97cb981..bba1a2b 100644
--- a/cmake/modules/QtVersionAbstraction.cmake
+++ b/cmake/modules/QtVersionAbstraction.cmake
@@ -28,7 +28,9 @@ if( NOT BUILD_WITH_QT4 )
 
         include_directories(${Qt5Widgets_INCLUDES})
         add_definitions(${Qt5Widgets_DEFINITIONS})
-        set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
+        if (NOT WIN32) #implied on Win32
+            set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
+        endif(NOT WIN32)
 #        set(CMAKE_CXX_FLAGS "${Qt5Widgets_EXECUTABLE_COMPILE_FLAGS}")
 
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list