Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
caesr-pub
systemc-clang
Commits
dd035f46
Commit
dd035f46
authored
Jul 11, 2019
by
rmrf
Browse files
For now just let the json cmake be in-built
parent
cc668513
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
dd035f46
...
...
@@ -6,7 +6,8 @@ set(CMAKE_CXX_STANDARD 17)
set
(
CMAKE_CXX_STANDARD_REQUIRED ON
)
# Required packages
find_package
(
nlohmann_json 3.2.0 REQUIRED
)
# TODO: Add the code to find library and/or the specific in-source file.
# find_package(nlohmann_json 3.2.0 REQUIRED)
option
(
USE_SAUTO
...
...
@@ -117,8 +118,8 @@ add_executable(
${
TARGET
}
${
ROOT_CPP
}
)
target_link_libraries
(
${
TARGET
}
${
SRC_LIB
}
nlohmann_json::nlohmann_json
)
target_link_libraries
(
${
TARGET
}
${
SAUTO_LIB
}
nlohmann_json::nlohmann_json
)
target_link_libraries
(
${
TARGET
}
${
SRC_LIB
}
)
#
nlohmann_json::nlohmann_json)
target_link_libraries
(
${
TARGET
}
${
SAUTO_LIB
}
)
#
nlohmann_json::nlohmann_json)
foreach
(
clang_lib
${
CLANG_LIBS
}
)
target_link_libraries
(
${
TARGET
}
${
clang_lib
}
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment