From cc61dfcbc7fab7cf44d173b142a17dfceeb643e1 Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Mon, 16 Nov 2015 20:22:18 +0100 Subject: [PATCH 4/4] Enable debug symbols on wine. --- cmake/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index 4db9c67..bb425c5 100644 --- a/cmake/CMakeLists.txt +++ b/cmake/CMakeLists.txt @@ -225,8 +225,8 @@ if(MSVC) SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /w14018") SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /w14018") else() - SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wsign-compare") - SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wsign-compare") + SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wsign-compare -gdwarf-2") + SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wsign-compare -gdwarf-2") endif() ######################################################################### -- 1.8.4.5