aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Schultz <karl@lunarg.com>2016-09-02 11:13:16 -0600
committerKarl Schultz <karl@lunarg.com>2016-09-02 11:13:16 -0600
commit1f658d99f3475e351b565d9a4dab8721bb86b326 (patch)
treecaca1b6e6bd3f9940246356f31d490e3cfa34256
parent471bd9423526ee07ca0ecda475346c147b3578bb (diff)
downloadusermoji-1f658d99f3475e351b565d9a4dab8721bb86b326.tar.xz
build: Restore default symbol visibility to layers/tests
Layer tests broke with a previous commit to fix CXX flags inheritance. This commit repairs the problem. Change-Id: Id54cfb737f32b6f11a4146225cc22e0b155ba2ba
-rw-r--r--layers/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/layers/CMakeLists.txt b/layers/CMakeLists.txt
index 9a9b4d46..456844fa 100644
--- a/layers/CMakeLists.txt
+++ b/layers/CMakeLists.txt
@@ -98,8 +98,8 @@ if (WIN32)
set (CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -D_CRT_SECURE_NO_WARNINGS /bigobj")
set (CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -D_CRT_SECURE_NO_WARNINGS /bigobj")
else()
- set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wpointer-arith -Wno-unused-function -Wno-sign-compare")
- set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wpointer-arith -Wno-unused-function -Wno-sign-compare")
+ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wpointer-arith -Wno-unused-function -Wno-sign-compare -fvisibility=default")
+ set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wpointer-arith -Wno-unused-function -Wno-sign-compare -fvisibility=default")
endif()
add_custom_command(OUTPUT vk_dispatch_table_helper.h