From bc04471c11b32956e307371605710226b3957a44 Mon Sep 17 00:00:00 2001 From: ThePhD Date: Sat, 6 Mar 2021 11:05:21 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A8=20Continuing=20to=20fix=20the=20CI?= =?UTF-8?q?...?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- single/CMakeLists.txt | 2 +- tests/runtime_tests/source/container_shims.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/single/CMakeLists.txt b/single/CMakeLists.txt index 7ff8d8a2..7ba05e79 100644 --- a/single/CMakeLists.txt +++ b/single/CMakeLists.txt @@ -42,7 +42,7 @@ add_custom_target(sol2_single_header_generator ALL # # # sol3 generated single header library add_library(sol2_single INTERFACE) -add_library(sol2::sol2_single ALIAS sol2_single) +add_library(sol2::sol2::single ALIAS sol2_single) set_target_properties(sol2_single PROPERTIES EXPORT_NAME sol2::sol2::single diff --git a/tests/runtime_tests/source/container_shims.cpp b/tests/runtime_tests/source/container_shims.cpp index e20ae2cf..f2686e24 100644 --- a/tests/runtime_tests/source/container_shims.cpp +++ b/tests/runtime_tests/source/container_shims.cpp @@ -169,6 +169,7 @@ inline namespace sol2_test_container_shims { { std::size_t sum = 0; for (const auto& [k, v] : data) { + (void)k; sum += v; } return static_cast(sum);