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