aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Cheng <kevin.cheng@arm.com>2021-11-05 19:18:49 +0000
committerKevin Cheng <kevin.cheng@arm.com>2021-11-05 19:19:40 +0000
commit25fbe521a1d64b4edc985386fc493683f1a08e60 (patch)
treef4a78201653fec056e6542931b82775b2598f462
parentd4ea8f15208a516fe19b5f21054d82a61b25a930 (diff)
downloadreference_model-25fbe521a1d64b4edc985386fc493683f1a08e60.tar.gz
Cleanup CMakeLists.txt
- update thirdparty/serialization_lib - avoid building uncessary targets in submodule Signed-off-by: Kevin Cheng <kevin.cheng@arm.com> Change-Id: I34698014b63e4d2d8b78011c001c85882014007c
-rw-r--r--reference_model/CMakeLists.txt1
-rw-r--r--thirdparty/CMakeLists.txt4
m---------thirdparty/serialization_lib0
3 files changed, 2 insertions, 3 deletions
diff --git a/reference_model/CMakeLists.txt b/reference_model/CMakeLists.txt
index ac1a2c4..40d83f2 100644
--- a/reference_model/CMakeLists.txt
+++ b/reference_model/CMakeLists.txt
@@ -70,7 +70,6 @@ target_include_directories(tosa_reference_model
target_link_libraries(tosa_reference_model
PRIVATE
tosa_serialization_lib
- flatbuffers
nlohmann_json::nlohmann_json
)
diff --git a/thirdparty/CMakeLists.txt b/thirdparty/CMakeLists.txt
index 320e434..a85af3c 100644
--- a/thirdparty/CMakeLists.txt
+++ b/thirdparty/CMakeLists.txt
@@ -4,5 +4,5 @@ set(CMAKE_INSTALL_PREFIX "./thirdparty" CACHE PATH "..." FORCE)
project(thirdparty LANGUAGES CXX)
-add_subdirectory(serialization_lib)
-add_subdirectory(json)
+add_subdirectory(serialization_lib EXCLUDE_FROM_ALL)
+add_subdirectory(json EXCLUDE_FROM_ALL)
diff --git a/thirdparty/serialization_lib b/thirdparty/serialization_lib
-Subproject a687b616fdd6d6ff7c4e84498bc3cb9789769ec
+Subproject 87de41f7e0f74c8ad763297367ad79497280ea8