Skip to content

Commit

Permalink
Fix RapidJSON issue
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Burton <[email protected]>
  • Loading branch information
markfoodyburton committed Mar 21, 2024
1 parent 5ec6ee5 commit 81b30b7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 25 deletions.
23 changes: 0 additions & 23 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,29 +35,6 @@ else ()
)
endif()

cpmaddpackage(
NAME
RapidJSON
GIT_REPOSITORY
https://github.com/Tencent/rapidjson
GIT_TAG
e0f68a435610e70ab5af44fc6a90523d69b210b3
GIT_SHALLOW
FALSE
OPTIONS
"RAPIDJSON_BUILD_TESTS OFF"
"RAPIDJSON_BUILD_DOC OFF"
"RAPIDJSON_BUILD_EXAMPLES OFF")

set(RapidJSON_DIR "${RapidJSON_BINARY_DIR}")

cpmaddpackage(
NAME SystemCCCI
GIT_REPOSITORY ${GITHUB}accellera-official/cci.git
GIT_SHALLOW True
GIT_TAG master
)

cpmaddpackage(
NAME initiator_id
SOURCE_DIR ${PROJECT_SOURCE_DIR}/tlm_extensions/initiator_id
Expand Down
6 changes: 4 additions & 2 deletions report/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,15 @@ cpmaddpackage(
"RAPIDJSON_BUILD_DOC OFF"
"RAPIDJSON_BUILD_EXAMPLES OFF")

set(RapidJSON_DIR "${RapidJSON_BINARY_DIR}")
# nasty hack till dady takes the t-bird away.
set(RAPIDJSON_INCLUDE_DIRS "${RapidJSON_SOURCE_DIR}/include")

cpmaddpackage(
NAME SystemCCCI
GIT_REPOSITORY ${GITHUB}accellera-official/cci.git
GIT_SHALLOW True
GIT_TAG master
GIT_TAG main
OPTIONS "SYSTEMCCCI_BUILD_TESTS OFF"
)

set(WITH_FMT "true" CACHE STRING "Include FMT library")
Expand Down

0 comments on commit 81b30b7

Please sign in to comment.