aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChia-I Wu <olv@lunarg.com>2015-01-18 11:09:29 +0800
committerCourtney Goeltzenleuchter <courtney@LunarG.com>2015-02-04 17:58:07 -0700
commitc404d12f830c66971ad14b13f6cc35cadfd39c68 (patch)
treec727df1a2761363a771f8b65fb75136d0b65c825
parent7106541d50d4f568415aa2c30dcd7291b6cdbf36 (diff)
downloadusermoji-c404d12f830c66971ad14b13f6cc35cadfd39c68.tar.xz
cmake: fix up gtest and set -fvisibility=hidden globally
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 35ecafde..b14daee4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -18,6 +18,7 @@ if (CMAKE_COMPILER_IS_GNUCC)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${COMMON_COMPILE_FLAGS}")
if (UNIX)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fvisibility=hidden")
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden")
endif()
endif()