mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-06 09:36:49 +08:00
[cmake]: Set VISIBILITY_PRESET to default
Change-Id: I3f2266904b8ee83b7c1fe3a419cd4ed931d0036b Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
This commit is contained in:
@@ -157,10 +157,7 @@ if(GCC)
|
|||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(${CMAKE_BUILD_TYPE} MATCHES "Release")
|
if(NOT ${CMAKE_BUILD_TYPE} MATCHES "Release")
|
||||||
set(CMAKE_C_VISIBILITY_PRESET hidden)
|
|
||||||
set(CMAKE_CXX_VISIBILITY_PRESET hidden)
|
|
||||||
else()
|
|
||||||
add_definitions(-g)
|
add_definitions(-g)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user