mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-12-05 05:18:53 +08:00
Merge https://github.com/acl-dev/acl into HEAD
This commit is contained in:
commit
e6bdc54769
@ -16,8 +16,8 @@ if (CMAKE_SYSTEM_NAME MATCHES "Android")
|
|||||||
add_definitions("-Wno-invalid-source-encoding")
|
add_definitions("-Wno-invalid-source-encoding")
|
||||||
add_definitions("-fvisibility=hidden")
|
add_definitions("-fvisibility=hidden")
|
||||||
add_definitions("-fvisibility-inlines-hidden")
|
add_definitions("-fvisibility-inlines-hidden")
|
||||||
add_definitions("-Wno-unused-command-line-argument")
|
add_definitions("-Wno-unused-command-line-argument")
|
||||||
string(APPEND CMAKE_C_FLAGS " -Qunused-arguments")
|
string(APPEND CMAKE_C_FLAGS " -Qunused-arguments")
|
||||||
set(UNIX_OS true)
|
set(UNIX_OS true)
|
||||||
elseif (CMAKE_SYSTEM_NAME MATCHES "Linux")
|
elseif (CMAKE_SYSTEM_NAME MATCHES "Linux")
|
||||||
add_definitions("-O2")
|
add_definitions("-O2")
|
||||||
|
@ -15,8 +15,8 @@ if(CMAKE_SYSTEM_NAME MATCHES "Android")
|
|||||||
add_definitions("-Wno-invalid-source-encoding")
|
add_definitions("-Wno-invalid-source-encoding")
|
||||||
add_definitions("-fvisibility=hidden")
|
add_definitions("-fvisibility=hidden")
|
||||||
add_definitions("-fvisibility-inlines-hidden")
|
add_definitions("-fvisibility-inlines-hidden")
|
||||||
string(APPEND CMAKE_CXX_FLAGS " -Qunused-arguments")
|
string(APPEND CMAKE_CXX_FLAGS " -Qunused-arguments")
|
||||||
set(UNIX_OS true)
|
set(UNIX_OS true)
|
||||||
elseif(CMAKE_SYSTEM_NAME MATCHES "Linux")
|
elseif(CMAKE_SYSTEM_NAME MATCHES "Linux")
|
||||||
add_definitions("-Wno-invalid-source-encoding")
|
add_definitions("-Wno-invalid-source-encoding")
|
||||||
add_definitions("-O2")
|
add_definitions("-O2")
|
||||||
|
Loading…
Reference in New Issue
Block a user