commit | 33ada63f3cac9817251f5637ff54f80c7fc68c81 | [log] [tgz] |
---|---|---|
author | Chia-I Wu <olv@lunarg.com> | Sun Jan 18 11:09:29 2015 +0800 |
committer | Courtney Goeltzenleuchter <courtney@LunarG.com> | Wed Feb 04 17:58:07 2015 -0700 |
tree | 5a11637183d97b2b9ef67c9167eb74db6e77ab20 | |
parent | cdcca51a5625fc388518187882463a1de80439ce [diff] [blame] |
cmake: fix up gtest and set -fvisibility=hidden globally
diff --git a/CMakeLists.txt b/CMakeLists.txt index 35ecafd..b14daee 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt
@@ -18,6 +18,7 @@ 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()