82 lines
3.6 KiB
CMake
82 lines
3.6 KiB
CMake
# Install script for directory: /Users/vsc/git/yap-6.3/packages/raptor
|
|
|
|
# Set the install prefix
|
|
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
|
|
set(CMAKE_INSTALL_PREFIX "/usr/local")
|
|
endif()
|
|
string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
|
|
|
|
# Set the install configuration name.
|
|
if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
|
|
if(BUILD_TYPE)
|
|
string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
|
|
CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
|
|
else()
|
|
set(CMAKE_INSTALL_CONFIG_NAME "Debug")
|
|
endif()
|
|
message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
|
|
endif()
|
|
|
|
# Set the component getting installed.
|
|
if(NOT CMAKE_INSTALL_COMPONENT)
|
|
if(COMPONENT)
|
|
message(STATUS "Install component: \"${COMPONENT}\"")
|
|
set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
|
|
else()
|
|
set(CMAKE_INSTALL_COMPONENT)
|
|
endif()
|
|
endif()
|
|
|
|
if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
|
|
list(APPEND CMAKE_ABSOLUTE_DESTINATION_FILES
|
|
"/usr/local/lib/Yap/raptor.dylib")
|
|
if(CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION)
|
|
message(WARNING "ABSOLUTE path INSTALL DESTINATION : ${CMAKE_ABSOLUTE_DESTINATION_FILES}")
|
|
endif()
|
|
if(CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION)
|
|
message(FATAL_ERROR "ABSOLUTE path INSTALL DESTINATION forbidden (by caller): ${CMAKE_ABSOLUTE_DESTINATION_FILES}")
|
|
endif()
|
|
file(INSTALL DESTINATION "/usr/local/lib/Yap" TYPE SHARED_LIBRARY FILES "/Users/vsc/git/yap-6.3/packages/raptor/raptor.dylib")
|
|
if(EXISTS "$ENV{DESTDIR}/usr/local/lib/Yap/raptor.dylib" AND
|
|
NOT IS_SYMLINK "$ENV{DESTDIR}/usr/local/lib/Yap/raptor.dylib")
|
|
execute_process(COMMAND "/usr/bin/install_name_tool"
|
|
-id "raptor.dylib"
|
|
-change "/Users/vsc/git/yap-6.3/utf8proc/libutf8proc.1.dylib" "libutf8proc.1.dylib"
|
|
"$ENV{DESTDIR}/usr/local/lib/Yap/raptor.dylib")
|
|
execute_process(COMMAND /usr/bin/install_name_tool
|
|
-delete_rpath "/Users/vsc/git/yap-6.3"
|
|
"$ENV{DESTDIR}/usr/local/lib/Yap/raptor.dylib")
|
|
execute_process(COMMAND /usr/bin/install_name_tool
|
|
-add_rpath "/usr/local/lib"
|
|
"$ENV{DESTDIR}/usr/local/lib/Yap/raptor.dylib")
|
|
if(CMAKE_INSTALL_DO_STRIP)
|
|
execute_process(COMMAND "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip" "$ENV{DESTDIR}/usr/local/lib/Yap/raptor.dylib")
|
|
endif()
|
|
endif()
|
|
endif()
|
|
|
|
if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
|
|
list(APPEND CMAKE_ABSOLUTE_DESTINATION_FILES
|
|
"/usr/local/share/Yap/raptor.yap")
|
|
if(CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION)
|
|
message(WARNING "ABSOLUTE path INSTALL DESTINATION : ${CMAKE_ABSOLUTE_DESTINATION_FILES}")
|
|
endif()
|
|
if(CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION)
|
|
message(FATAL_ERROR "ABSOLUTE path INSTALL DESTINATION forbidden (by caller): ${CMAKE_ABSOLUTE_DESTINATION_FILES}")
|
|
endif()
|
|
file(INSTALL DESTINATION "/usr/local/share/Yap" TYPE FILE FILES "/Users/vsc/git/yap-6.3/packages/raptor/raptor.yap")
|
|
endif()
|
|
|
|
if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
|
|
list(APPEND CMAKE_ABSOLUTE_DESTINATION_FILES
|
|
"/usr/local/share/Yap/rdf.yap")
|
|
if(CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION)
|
|
message(WARNING "ABSOLUTE path INSTALL DESTINATION : ${CMAKE_ABSOLUTE_DESTINATION_FILES}")
|
|
endif()
|
|
if(CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION)
|
|
message(FATAL_ERROR "ABSOLUTE path INSTALL DESTINATION forbidden (by caller): ${CMAKE_ABSOLUTE_DESTINATION_FILES}")
|
|
endif()
|
|
file(INSTALL DESTINATION "/usr/local/share/Yap" TYPE FILE FILES "/Users/vsc/git/yap-6.3/packages/raptor/rdf.yap")
|
|
endif()
|
|
|