Skip to content

Commit fbe8fa7

Browse files
sleweke-bayerschmoelder
authored andcommitted
Ignore warning C4100 in MSVC
Ignores the C4100 warning (unused formal identifier) when compiling with MSVC.
1 parent 2ff6a3c commit fbe8fa7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ endif()
512512
target_compile_options(CADET::CompileOptions INTERFACE $<$<OR:$<CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:AppleClang>,$<CXX_COMPILER_ID:GNU>>:
513513
-Wall -pedantic-errors -Wextra -Wno-unused-parameter -Wno-unused-function> #-Wconversion -Wsign-conversion
514514
$<$<CXX_COMPILER_ID:MSVC>:
515-
/W4>
515+
/W4 /wd4100>
516516
)
517517

518518
add_library(CADET::AD INTERFACE IMPORTED)

0 commit comments

Comments
 (0)