Skip to content

Commit d00adcb

Browse files
Fix for upstream install on mac RPATH issue
Signed-off-by: Mark Burton <[email protected]>
1 parent ecb0ee7 commit d00adcb

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

report/CMakeLists.txt

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,32 @@ cpmaddpackage(
2727
GIT_TAG main
2828
)
2929

30+
# upstream set INSTALL_NAME_DIR wrong !
31+
if (APPLE)
32+
set_target_properties(
33+
systemc
34+
PROPERTIES
35+
INSTALL_NAME_DIR "@rpath"
36+
)
37+
endif()
38+
3039
cpmaddpackage(
3140
NAME SystemCCCI
3241
GIT_REPOSITORY ${GITHUB}accellera-official/cci.git
3342
GIT_SHALLOW True
3443
GIT_TAG main
3544
)
3645

46+
# upstream set INSTALL_NAME_DIR wrong !
47+
if (APPLE)
48+
set_target_properties(
49+
cci
50+
PROPERTIES
51+
INSTALL_NAME_DIR "@rpath"
52+
)
53+
endif()
54+
55+
3756
set(WITH_FMT "true" CACHE STRING "Include FMT library")
3857
if (WITH_FMT)
3958
cpmaddpackage(

0 commit comments

Comments
 (0)