From efc963d8f80ad54cf076528a0a6ac34c33e4a457 Mon Sep 17 00:00:00 2001 From: bjorn Date: Fri, 25 Dec 2020 15:50:08 -0700 Subject: [PATCH] CMake hides symbols by default; This is more consistent with tup. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e7661b03..5ce46648 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -345,7 +345,7 @@ else() return() endif() -set_target_properties(lovr PROPERTIES C_VISIBILITY_PRESET default) +set_target_properties(lovr PROPERTIES C_VISIBILITY_PRESET hidden) set_target_properties(lovr PROPERTIES C_STANDARD 99) target_include_directories(lovr PRIVATE src src/modules) target_link_libraries(lovr