[nfde] Fix compiler warnings on Gtk build
All checks were successful
Build / build (push) Successful in 2m32s

This commit is contained in:
2024-05-31 20:10:19 -05:00
parent 9244b735e8
commit eb46aeebf4
2 changed files with 9 additions and 13 deletions

View File

@ -12,10 +12,6 @@ endif()
option(NFD_BUILD_TESTS "Build tests for nfd" ${nfd_ROOT_PROJECT})
option(NFD_INSTALL "Generate install target for nfd" ${nfd_ROOT_PROJECT})
if(NOT MSVC)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -w")
endif()
set(nfd_PLATFORM Undefined)
if(WIN32)
set(nfd_PLATFORM PLATFORM_WIN32)