Allow benchmarks with --force-debug-info
Developer builds with RelWithDebInfo should also make benchmarks, it is how we get good traces. Change-Id: I009d40580d5d784f78bd18ebf21887ce3c1fa97d Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
parent
d57ccd923f
commit
74158ab1a6
@ -117,7 +117,7 @@ if(FEATURE_developer_build)
|
||||
|
||||
# Disable benchmarks for single configuration generators which do not build
|
||||
# with release configuration.
|
||||
if (CMAKE_BUILD_TYPE AND NOT CMAKE_BUILD_TYPE STREQUAL Release)
|
||||
if (CMAKE_BUILD_TYPE AND CMAKE_BUILD_TYPE STREQUAL Debug)
|
||||
set(__build_benchmarks OFF)
|
||||
endif()
|
||||
else()
|
||||
|
Loading…
x
Reference in New Issue
Block a user