oops, that patch would have tanked a 64-bit windows profile run

pull/237/head
Rick V 5 years ago
parent bef0316aab
commit d70a9fbfd4
No known key found for this signature in database
GPG Key ID: C0EDC8723FDC3465

@ -46,8 +46,13 @@ add_compile_options($<$<COMPILE_LANGUAGE:CXX>:-fpermissive>)
add_compile_options(-Wno-unused-function -Wno-deprecated-declarations -Wno-unknown-pragmas)
if (WITH_COVERAGE)
add_compile_options( --coverage -g0 )
link_libraries( --coverage )
if (USING_CLANG)
add_compile_options( -fprofile-instr-generate -fcoverage-mapping )
link_libraries( -fprofile-instr-generate )
else()
add_compile_options( --coverage -g0 )
link_libraries( --coverage )
endif()
endif()
# these vars are set by the cmake toolchain spec

Loading…
Cancel
Save