i2pd-2.5.1-fix_installed_components.patch 930 B

12345678910111213141516171819202122232425262728293031
  1. --- a/build/CMakeLists.txt.old 2016-02-04 21:30:50.954251000 +0100
  2. +++ b/build/CMakeLists.txt 2016-02-04 21:34:50.457793484 +0100
  3. @@ -356,10 +356,6 @@
  4. endif ()
  5. endif ()
  6. -install(FILES ../LICENSE
  7. - DESTINATION .
  8. - COMPONENT Runtime
  9. - )
  10. # Take a copy on Appveyor
  11. install(FILES "C:/projects/openssl-$ENV{OPENSSL}/LICENSE"
  12. DESTINATION .
  13. @@ -369,7 +365,6 @@
  14. )
  15. file(GLOB_RECURSE I2PD_SOURCES "../*.cpp" "../build" "../Win32" "../Makefile*")
  16. -install(FILES ${I2PD_SOURCES} DESTINATION src/ COMPONENT Source)
  17. # install(DIRECTORY ../ DESTINATION src/
  18. # # OPTIONAL
  19. # COMPONENT Source FILES_MATCHING
  20. @@ -378,7 +373,7 @@
  21. # )
  22. file(GLOB I2PD_HEADERS "../*.h")
  23. -install(FILES ${I2PD_HEADERS} DESTINATION src/ COMPONENT Headers)
  24. +install(FILES ${I2PD_HEADERS} DESTINATION "include/${PROJECT_NAME}" COMPONENT Headers)
  25. # install(DIRECTORY ../ DESTINATION src/
  26. # # OPTIONAL
  27. # COMPONENT Headers FILES_MATCHING