Skip to content

Commit

Permalink
Force udpate for RapidJSON_DIR value (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
PolygonalSun authored Jun 10, 2021
1 parent 813c637 commit a237aea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion External/RapidJSON/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ add_subdirectory(${CMAKE_BINARY_DIR}/RapidJSON-src
EXCLUDE_FROM_ALL)

# Set the RapidJSONConfig.cmake path and make find_package to work in config mode explicitly.
set(RapidJSON_DIR "${CMAKE_BINARY_DIR}/RapidJSON-build" CACHE LOCATION "Specific configuration file location")
set(RapidJSON_DIR "${CMAKE_BINARY_DIR}/RapidJSON-build" CACHE LOCATION "Specific configuration file location" FORCE)
find_package(RapidJSON REQUIRED CONFIG)

add_library(RapidJSON INTERFACE IMPORTED GLOBAL)
Expand Down

0 comments on commit a237aea

Please # to comment.