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()
|
||||
|
||||
# Determine if build mode
|
||||
if(${CMAKE_BUILD_TYPE} MATCHES "(Debug)+")
|
||||
add_compile_options(-g)
|
||||
endif()
|
||||
# Strip binary
|
||||
set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -s -g")
|
||||
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -s -g")
|
||||
|
||||
# Enable position independent code
|
||||
if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
||||
|
Loading…
Reference in New Issue
Block a user