Commit 8ba35cf9 authored by Ronan's avatar Ronan
Browse files

fix(CMakeLists.txt): remove -g flag on Windows

parent 7383a292
...@@ -72,7 +72,11 @@ if(NOT CMAKE_BUILD_TYPE) ...@@ -72,7 +72,11 @@ if(NOT CMAKE_BUILD_TYPE)
endif() endif()
set(CMAKE_CXX_FLAGS_RELEASE "-O2 -DNDEBUG") set(CMAKE_CXX_FLAGS_RELEASE "-O2 -DNDEBUG")
set(CMAKE_CXX_FLAGS_DEBUG "-g -DDEBUG")
set(CMAKE_CXX_FLAGS_DEBUG "-DDEBUG")
if(NOT WIN32)
list(APPEND CMAKE_CXX_FLAGS_DEBUG "-g")
endif()
if(ENABLE_STATIC) if(ENABLE_STATIC)
set(LINPHONE_LIBS_FOR_TOOLS linphone-static) set(LINPHONE_LIBS_FOR_TOOLS linphone-static)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment