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.

42 lines
1.1 KiB

  1. --- a/CMakeLists.txt
  2. +++ b/CMakeLists.txt
  3. @@ -41,12 +41,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)
  15. @@ -221,16 +215,16 @@ endif ()
  16. if (NOT UPNPC_NO_INSTALL)
  17. install (FILES
  18. - miniupnpc.h
  19. - miniwget.h
  20. - upnpcommands.h
  21. - igd_desc_parse.h
  22. - upnpreplyparse.h
  23. - upnperrors.h
  24. - upnpdev.h
  25. - miniupnpctypes.h
  26. - portlistingparse.h
  27. - miniupnpc_declspec.h
  28. + include/miniupnpc.h
  29. + include/miniwget.h
  30. + include/upnpcommands.h
  31. + include/igd_desc_parse.h
  32. + include/upnpreplyparse.h
  33. + include/upnperrors.h
  34. + include/upnpdev.h
  35. + include/miniupnpctypes.h
  36. + include/portlistingparse.h
  37. + include/miniupnpc_declspec.h
  38. DESTINATION include/miniupnpc
  39. )