Skip to content

Commit

Permalink
refs #71, fix warning disable syntax for msvc
Browse files Browse the repository at this point in the history
  • Loading branch information
gulrak committed Dec 29, 2020
1 parent 3225d12 commit 5bf0d44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/GhcHelper.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ macro(AddTestExecutableWithStdCpp cppStd)
$<$<BOOL:${EMSCRIPTEN}>:-s DISABLE_EXCEPTION_CATCHING=0>
$<$<CXX_COMPILER_ID:Clang>:-Wall -Wextra -Wshadow -Wconversion -Wsign-conversion -Wpedantic -Werror -Wno-error=deprecated-declarations>
$<$<CXX_COMPILER_ID:GNU>:-Wall -Wextra -Wshadow -Wconversion -Wsign-conversion -Wpedantic -Wno-psabi -Werror -Wno-error=deprecated-declarations>
$<$<CXX_COMPILER_ID:MSVC>:/WX /WD4996>)
$<$<CXX_COMPILER_ID:MSVC>:/WX /wd"4996">)
if(CMAKE_CXX_COMPILER_ID MATCHES MSVC)
target_compile_definitions(filesystem_test_cpp${cppStd} PRIVATE _CRT_SECURE_NO_WARNINGS)
endif()
Expand Down

0 comments on commit 5bf0d44

Please sign in to comment.