From 3e3da859a7d4b2bfba2c6869fab3ebf5a4299be7 Mon Sep 17 00:00:00 2001 From: George Kiagiadakis Date: Tue, 18 Jan 2011 23:51:01 +0200 Subject: Do not use -fvisibility=hidden on windows. --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- cgit v1.2.3