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.

40 lines
1.6 KiB

  1. Index: netopeer2-c204b59f9c2bb7e63eb907f33c44adbf208295ee/keystored/CMakeLists.txt
  2. ===================================================================
  3. --- netopeer2-c204b59f9c2bb7e63eb907f33c44adbf208295ee.orig/keystored/CMakeLists.txt
  4. +++ netopeer2-c204b59f9c2bb7e63eb907f33c44adbf208295ee/keystored/CMakeLists.txt
  5. @@ -105,6 +105,7 @@ endif()
  6. install(DIRECTORY DESTINATION ${KEYSTORED_KEYS_DIR}
  7. DIRECTORY_PERMISSIONS OWNER_WRITE OWNER_READ OWNER_EXECUTE)
  8. +if(FALSE)
  9. # install all the required modules and enable features
  10. install(CODE "
  11. execute_process(COMMAND ${SYSREPOCTL_EXECUTABLE} -l RESULT_VARIABLE RET OUTPUT_VARIABLE INSTALLED_MODULES ERROR_VARIABLE OUT)
  12. @@ -154,6 +155,7 @@ install(CODE "
  13. message(FATAL_ERROR \" Command sysrepocfg import failed:\\n \${OUT}\")
  14. endif()
  15. endif()")
  16. +endif()
  17. # plugins should be installed into sysrepo plugins dir
  18. install(TARGETS keystored DESTINATION ${SR_PLUGINS_DIR})
  19. Index: netopeer2-c204b59f9c2bb7e63eb907f33c44adbf208295ee/server/CMakeLists.txt
  20. ===================================================================
  21. --- netopeer2-c204b59f9c2bb7e63eb907f33c44adbf208295ee.orig/server/CMakeLists.txt
  22. +++ netopeer2-c204b59f9c2bb7e63eb907f33c44adbf208295ee/server/CMakeLists.txt
  23. @@ -147,6 +147,7 @@ include_directories(${SYSREPO_INCLUDE_DI
  24. # install binary
  25. install(TARGETS netopeer2-server DESTINATION ${CMAKE_INSTALL_BINDIR})
  26. +if(FALSE)
  27. # only for configuration
  28. if (ENABLE_CONFIGURATION)
  29. # find sysrepoctl
  30. @@ -239,6 +240,7 @@ if (ENABLE_CONFIGURATION)
  31. endif()")
  32. endif()
  33. +endif()
  34. # clean cmake cache
  35. add_custom_target(cleancache