mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-12-26 11:17:44 +01:00
[cmake]: set default visibility to hidden and enable mpp/vpu export function
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1195 6e48237b-75ef-9749-8fc9-41990f28c85a
This commit is contained in:
parent
71f5906081
commit
c2cdea0a6d
3 changed files with 7 additions and 0 deletions
|
|
@ -184,6 +184,10 @@ if(GCC)
|
|||
add_definitions(-march=i686)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
set(CMAKE_C_VISIBILITY_PRESET hidden)
|
||||
set(CMAKE_CXX_VISIBILITY_PRESET hidden)
|
||||
|
||||
# disable multichar warning
|
||||
add_definitions(-Wno-multichar)
|
||||
endif(GCC)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue