Skip to content

Commit

Permalink
Fix for upstream install on mac RPATH issue
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Burton <[email protected]>
  • Loading branch information
markfoodyburton committed Jul 12, 2024
1 parent ecb0ee7 commit d00adcb
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions report/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,32 @@ cpmaddpackage(
GIT_TAG main
)

# upstream set INSTALL_NAME_DIR wrong !
if (APPLE)
set_target_properties(
systemc
PROPERTIES
INSTALL_NAME_DIR "@rpath"
)
endif()

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

# upstream set INSTALL_NAME_DIR wrong !
if (APPLE)
set_target_properties(
cci
PROPERTIES
INSTALL_NAME_DIR "@rpath"
)
endif()


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

0 comments on commit d00adcb

Please sign in to comment.