diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 9b9b90abf..a9c39f2f3 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -62,7 +62,7 @@ function(SETUP_TARGET TARGET_NAME) -Wno-unused-local-typedef -Wno-unused-private-field > - # documentation diagnostic on also for clang-cl + # documentation diagnostic turned on for clang-cl only $<$:-Wdocumentation> /EHsc /wd4324 /wd4996 $<$:/Od> @@ -73,7 +73,6 @@ function(SETUP_TARGET TARGET_NAME) ${TARGET_NAME} PRIVATE -pedantic -fvisibility=hidden -Wall -Wshadow -Wno-deprecated-declarations - $<$:-Wdocumentation> $<$:-O0 -g> $<$:-O2> )