mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 00:37:15 +01:00
Update CMakeLists.txt
This commit is contained in:
parent
9cbac142c2
commit
d947bf75f5
@ -93,10 +93,9 @@ else()
|
|||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Determine if build mode
|
# Strip binary
|
||||||
if(${CMAKE_BUILD_TYPE} MATCHES "(Debug)+")
|
set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -s -g")
|
||||||
add_compile_options(-g)
|
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -s -g")
|
||||||
endif()
|
|
||||||
|
|
||||||
# Enable position independent code
|
# Enable position independent code
|
||||||
if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
||||||
|
Loading…
Reference in New Issue
Block a user