You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
539 B

  1. --- a/CMakeLists.txt
  2. +++ b/CMakeLists.txt
  3. @@ -38,12 +38,6 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Darwin")
  4. target_compile_definitions(miniupnpc-private INTERFACE _DARWIN_C_SOURCE)
  5. endif ()
  6. -# Set compiler specific build flags
  7. -if (CMAKE_COMPILER_IS_GNUCC AND NOT CMAKE_SYSTEM_NAME STREQUAL "AmigaOS")
  8. - set(CMAKE_POSITION_INDEPENDENT_CODE ON)
  9. - target_compile_options(miniupnpc-private INTERFACE -Wall)
  10. -endif ()
  11. -
  12. # Suppress noise warnings
  13. if (MSVC)
  14. target_compile_definitions(miniupnpc-private INTERFACE _CRT_SECURE_NO_WARNINGS)