buildcache : Remove Z7 from release build

Avoid debug symbols in release build. Faster build and smaller object files.
This commit is contained in:
Magne Sjaastad 2020-05-21 18:34:18 +02:00
parent 7e7b9e6cfc
commit 805c735ad3

View File

@ -211,7 +211,6 @@ if(buildcache_program)
endif()
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} /Z7")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /Z7")
endif()
else()
message( STATUS "No buildcache found" )