mirror of
https://github.com/MetaCubeX/ClashMetaForAndroid.git
synced 2024-11-25 23:06:09 +03:00
Improve: enable CMAKE_POSITION_INDEPENDENT_CODE
This commit is contained in:
parent
a75c8f5dfc
commit
f967bd299a
@ -2,6 +2,8 @@ cmake_minimum_required(VERSION 3.0)
|
|||||||
|
|
||||||
project(clash-bridge C)
|
project(clash-bridge C)
|
||||||
|
|
||||||
|
set(CMAKE_POSITION_INDEPENDENT_CODE on)
|
||||||
|
|
||||||
set(GO_OUTPUT_BASE ${GO_OUTPUT}/${FLAVOR_NAME})
|
set(GO_OUTPUT_BASE ${GO_OUTPUT}/${FLAVOR_NAME})
|
||||||
|
|
||||||
if ("${CMAKE_BUILD_TYPE}" STREQUAL "Debug")
|
if ("${CMAKE_BUILD_TYPE}" STREQUAL "Debug")
|
||||||
|
Loading…
Reference in New Issue
Block a user