summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.co.uk>2011-01-18 23:51:01 +0200
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.co.uk>2011-01-18 23:51:01 +0200
commit3e3da859a7d4b2bfba2c6869fab3ebf5a4299be7 (patch)
tree14c1e6e37172885cd19647772ac218bc212f2ffa
parent9341394004fce7e9a0f2323b65b5b5623f2f9a2c (diff)
Do not use -fvisibility=hidden on windows.
-rw-r--r--src/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index d804693..11afe42 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -7,7 +7,7 @@ if (QTGSTREAMER_STATIC)
set(SHARED_OR_STATIC "STATIC")
else()
set(SHARED_OR_STATIC "SHARED")
- if (CMAKE_COMPILER_IS_GNUCXX)
+ if (CMAKE_COMPILER_IS_GNUCXX AND NOT WIN32)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden -fvisibility-inlines-hidden")
endif ()
endif()