blob: 4afd154d10c3fb80bd3fc49ebc8627113ded9d87 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# Integrate SYSTEMC as source project.
#
# FetchContent makes the dependency available during cmake configuration step
# and acts similar to *add_subdirectory*, that means all targets of the
# sub-project are available in the main project.
#
# NOTE: Target name must be unique across the main project and all sub-project,
# names may clash :^)
include(FetchContent)
FetchContent_Declare(
systemc
GIT_REPOSITORY https://github.com/accellera-official/systemc
GIT_TAG master
EXCLUDE_FROM_ALL
)
# This makes all targets from the sub-project available.
FetchContent_MakeAvailable(systemc)
|