1
0
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:
Sandu Liviu Catalin 2021-09-06 19:14:09 +03:00
parent 9cbac142c2
commit d947bf75f5

View File

@ -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")