Fix external SystemC and update Readme
This commit is contained in:
@@ -156,10 +156,14 @@ set(DISABLE_COPYRIGHT_MESSAGE True)
|
||||
# Allow populating of a user-set SystemC package
|
||||
if (NOT TARGET SystemC::systemc)
|
||||
FetchContent_MakeAvailable(systemc)
|
||||
|
||||
# Set include directories to SYSTEM to suppress warnings
|
||||
set_target_properties(systemc PROPERTIES SYSTEM TRUE)
|
||||
else()
|
||||
# Set include directories to SYSTEM to suppress warnings
|
||||
set_target_properties(SystemC::systemc PROPERTIES SYSTEM TRUE)
|
||||
endif()
|
||||
|
||||
# Set include directories to SYSTEM to suppress warnings
|
||||
set_target_properties(systemc PROPERTIES SYSTEM TRUE)
|
||||
|
||||
### DRAMPower ###
|
||||
if (DRAMSYS_WITH_DRAMPOWER)
|
||||
|
||||
Reference in New Issue
Block a user