Only use available SystemC when SYSTEMC_HOME env is set
This commit is contained in:
@@ -125,7 +125,7 @@ if(DRAMSYS_BUILD_TESTS)
|
||||
endif()
|
||||
|
||||
### SystemC ###
|
||||
list(APPEND CMAKE_PREFIX_PATH $ENV{SYSTEMC_HOME} /opt/systemc/)
|
||||
list(APPEND CMAKE_PREFIX_PATH $ENV{SYSTEMC_HOME})
|
||||
FetchContent_Declare(
|
||||
systemc
|
||||
GIT_REPOSITORY https://github.com/accellera-official/systemc.git
|
||||
|
||||
Reference in New Issue
Block a user