lrelease_mac.cmake 596 B

123456789101112131415161718192021
  1. #
  2. # Copyright (c) Contributors to the Open 3D Engine Project.
  3. # For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. #
  5. # SPDX-License-Identifier: Apache-2.0 OR MIT
  6. #
  7. #
  8. add_custom_command(TARGET LmbrCentral.Editor POST_BUILD
  9. COMMAND "${CMAKE_COMMAND}" -P "${LY_ROOT_FOLDER}/cmake/Platform/Mac/RPathChange.cmake"
  10. "$<TARGET_FILE_DIR:LmbrCentral.Editor>/lrelease"
  11. @executable_path/../Frameworks
  12. @executable_path
  13. COMMENT "Patching lrelease..."
  14. VERBATIM
  15. )
  16. set(lrelease_files
  17. ${QT_LRELEASE_EXECUTABLE}
  18. )