FindPIX.cmake 484 B

12345678910111213141516171819
  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. set(LY_PIX_PATH "${LY_3RDPARTY_PATH}/winpixeventruntime" CACHE PATH "Path to the Windows Pix Event Runtime.")
  9. ly_add_external_target(
  10. NAME pix
  11. 3RDPARTY_ROOT_DIRECTORY ${LY_PIX_PATH}
  12. VERSION
  13. INCLUDE_DIRECTORIES Include
  14. COMPILE_DEFINITIONS USE_PIX
  15. )