FindRapidXML.cmake 584 B

12345678910111213141516
  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(TARGET_NAME "RapidXML")
  9. set(TARGET_WITH_NAMESPACE "3rdParty::${TARGET_NAME}")
  10. set(${TARGET_NAME}_INCLUDE_DIR ${CMAKE_CURRENT_LIST_DIR}/${TARGET_NAME}/include)
  11. add_library(${TARGET_WITH_NAMESPACE} INTERFACE IMPORTED GLOBAL)
  12. ly_target_include_system_directories(TARGET ${TARGET_WITH_NAMESPACE} INTERFACE ${${TARGET_NAME}_INCLUDE_DIR})
  13. set(${TARGET_NAME}_FOUND True)