RapidJSONConfig.cmake.in 652 B

123456789101112131415
  1. ################################################################################
  2. # RapidJSON source dir
  3. set( RapidJSON_SOURCE_DIR "@CONFIG_SOURCE_DIR@")
  4. ################################################################################
  5. # RapidJSON build dir
  6. set( RapidJSON_DIR "@CONFIG_DIR@")
  7. ################################################################################
  8. # Compute paths
  9. get_filename_component(RapidJSON_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
  10. set( RapidJSON_INCLUDE_DIR "@RapidJSON_INCLUDE_DIR@" )
  11. set( RapidJSON_INCLUDE_DIRS "@RapidJSON_INCLUDE_DIR@" )
  12. message(STATUS "RapidJSON found. Headers: ${RapidJSON_INCLUDE_DIRS}")