Files
o3de/cmake/Platform/Linux/RPathChange.cmake
T
2021-06-23 10:55:22 -07:00

12 lines
335 B
CMake

#
# Copyright (c) Contributors to the Open 3D Engine Project
#
# SPDX-License-Identifier: Apache-2.0 OR MIT
#
#
if(NOT ${CMAKE_ARGC} EQUAL 6)
message(FATAL_ERROR "RPathChange script called with the wrong number of arguments")
endif()
file(RPATH_CHANGE FILE "${CMAKE_ARGV3}" OLD_RPATH "${CMAKE_ARGV4}" NEW_RPATH "${CMAKE_ARGV5}")