Avoid debug info flag /Z7 flag for release build

This commit is contained in:
Magne Sjaastad 2023-01-28 07:33:28 +01:00
parent 073343ce9b
commit 863925f980

View File

@ -122,7 +122,6 @@ if(buildcache_program)
"${CMAKE_CXX_FLAGS_RELWITHDEBINFO}"
)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /Z7")
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} /Z7")
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} /Z7")
endif()