Skip to content

Commit

Permalink
CMakeLists.txt: make gcc ignore MSVC pragmas
Browse files Browse the repository at this point in the history
  • Loading branch information
maharmstone committed Dec 30, 2020
1 parent 77d99c8 commit 3aefde6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ set(CMAKE_ASM_MASM_COMPILE_OPTIONS_MSVC_RUNTIME_LIBRARY_MultiThreadedDebugDLL ""
if(MSVC)
target_compile_options(ntfs2btrfs PRIVATE /W4)
else()
target_compile_options(ntfs2btrfs PRIVATE -Wall -Wextra -Wno-address-of-packed-member -Wconversion)
target_compile_options(ntfs2btrfs PRIVATE -Wall -Wextra -Wno-address-of-packed-member -Wconversion -Wno-unknown-pragmas)
endif()

install(TARGETS ntfs2btrfs DESTINATION bin)

0 comments on commit 3aefde6

Please sign in to comment.