summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--SetFlags.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/SetFlags.cmake b/SetFlags.cmake
index 4eed529bd..fe867f9af 100644
--- a/SetFlags.cmake
+++ b/SetFlags.cmake
@@ -118,8 +118,8 @@ endmacro()
macro(enable_profile)
# Declare the flags used for profiling builds:
if (MSVC)
- set (CXX_PROFILING "")
- set (LNK_PROFILING "/PROFILE")
+ set (CXX_PROFILING "/Zi")
+ set (LNK_PROFILING "/PROFILE /DEBUG")
else()
set (CXX_PROFILING "-pg")
set (LNK_PROFILING "-pg")