cmake_install.cmake 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. # Install script for directory: /home/book/hisi3518_lora/network/mbedtls
  2. # Set the install prefix
  3. if(NOT DEFINED CMAKE_INSTALL_PREFIX)
  4. set(CMAKE_INSTALL_PREFIX "/usr/local")
  5. endif()
  6. string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
  7. # Set the install configuration name.
  8. if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
  9. if(BUILD_TYPE)
  10. string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
  11. CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
  12. else()
  13. set(CMAKE_INSTALL_CONFIG_NAME "Debug")
  14. endif()
  15. message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
  16. endif()
  17. # Set the component getting installed.
  18. if(NOT CMAKE_INSTALL_COMPONENT)
  19. if(COMPONENT)
  20. message(STATUS "Install component: \"${COMPONENT}\"")
  21. set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
  22. else()
  23. set(CMAKE_INSTALL_COMPONENT)
  24. endif()
  25. endif()
  26. # Install shared libraries without execute permission?
  27. if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
  28. set(CMAKE_INSTALL_SO_NO_EXE "1")
  29. endif()
  30. # Is this installation the result of a crosscompile?
  31. if(NOT DEFINED CMAKE_CROSSCOMPILING)
  32. set(CMAKE_CROSSCOMPILING "FALSE")
  33. endif()
  34. if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT)
  35. if(EXISTS "$ENV{DESTDIR}/usr/local/lib/libmc-mbedtls.so.1.2.0" AND
  36. NOT IS_SYMLINK "$ENV{DESTDIR}/usr/local/lib/libmc-mbedtls.so.1.2.0")
  37. file(RPATH_CHECK
  38. FILE "$ENV{DESTDIR}/usr/local/lib/libmc-mbedtls.so.1.2.0"
  39. RPATH "")
  40. endif()
  41. list(APPEND CMAKE_ABSOLUTE_DESTINATION_FILES
  42. "/usr/local/lib/libmc-mbedtls.so.1.2.0")
  43. if(CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION)
  44. message(WARNING "ABSOLUTE path INSTALL DESTINATION : ${CMAKE_ABSOLUTE_DESTINATION_FILES}")
  45. endif()
  46. if(CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION)
  47. message(FATAL_ERROR "ABSOLUTE path INSTALL DESTINATION forbidden (by caller): ${CMAKE_ABSOLUTE_DESTINATION_FILES}")
  48. endif()
  49. file(INSTALL DESTINATION "/usr/local/lib" TYPE SHARED_LIBRARY FILES "/home/book/hisi3518_lora/build/lib/libmc-mbedtls.so.1.2.0")
  50. if(EXISTS "$ENV{DESTDIR}/usr/local/lib/libmc-mbedtls.so.1.2.0" AND
  51. NOT IS_SYMLINK "$ENV{DESTDIR}/usr/local/lib/libmc-mbedtls.so.1.2.0")
  52. file(RPATH_CHANGE
  53. FILE "$ENV{DESTDIR}/usr/local/lib/libmc-mbedtls.so.1.2.0"
  54. OLD_RPATH "/home/book/hisi3518_lora/build/lib:"
  55. NEW_RPATH "")
  56. if(CMAKE_INSTALL_DO_STRIP)
  57. execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}/usr/local/lib/libmc-mbedtls.so.1.2.0")
  58. endif()
  59. endif()
  60. endif()
  61. if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT)
  62. if(EXISTS "$ENV{DESTDIR}/usr/local/lib/libmc-mbedtls.so" AND
  63. NOT IS_SYMLINK "$ENV{DESTDIR}/usr/local/lib/libmc-mbedtls.so")
  64. file(RPATH_CHECK
  65. FILE "$ENV{DESTDIR}/usr/local/lib/libmc-mbedtls.so"
  66. RPATH "")
  67. endif()
  68. list(APPEND CMAKE_ABSOLUTE_DESTINATION_FILES
  69. "/usr/local/lib/libmc-mbedtls.so")
  70. if(CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION)
  71. message(WARNING "ABSOLUTE path INSTALL DESTINATION : ${CMAKE_ABSOLUTE_DESTINATION_FILES}")
  72. endif()
  73. if(CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION)
  74. message(FATAL_ERROR "ABSOLUTE path INSTALL DESTINATION forbidden (by caller): ${CMAKE_ABSOLUTE_DESTINATION_FILES}")
  75. endif()
  76. file(INSTALL DESTINATION "/usr/local/lib" TYPE SHARED_LIBRARY FILES "/home/book/hisi3518_lora/build/lib/libmc-mbedtls.so")
  77. if(EXISTS "$ENV{DESTDIR}/usr/local/lib/libmc-mbedtls.so" AND
  78. NOT IS_SYMLINK "$ENV{DESTDIR}/usr/local/lib/libmc-mbedtls.so")
  79. file(RPATH_CHANGE
  80. FILE "$ENV{DESTDIR}/usr/local/lib/libmc-mbedtls.so"
  81. OLD_RPATH "/home/book/hisi3518_lora/build/lib:"
  82. NEW_RPATH "")
  83. if(CMAKE_INSTALL_DO_STRIP)
  84. execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}/usr/local/lib/libmc-mbedtls.so")
  85. endif()
  86. endif()
  87. endif()
  88. if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT)
  89. list(APPEND CMAKE_ABSOLUTE_DESTINATION_FILES
  90. "/usr/local/lib/libmc-mbedtls.a")
  91. if(CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION)
  92. message(WARNING "ABSOLUTE path INSTALL DESTINATION : ${CMAKE_ABSOLUTE_DESTINATION_FILES}")
  93. endif()
  94. if(CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION)
  95. message(FATAL_ERROR "ABSOLUTE path INSTALL DESTINATION forbidden (by caller): ${CMAKE_ABSOLUTE_DESTINATION_FILES}")
  96. endif()
  97. file(INSTALL DESTINATION "/usr/local/lib" TYPE STATIC_LIBRARY FILES "/home/book/hisi3518_lora/build/lib/libmc-mbedtls.a")
  98. endif()