Commit 51ac3e8 1 parent 926a1c6 commit 51ac3e8 Copy full SHA for 51ac3e8
File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
- # Copyright (c) 2015-2024 Morwenn
1
+ # Copyright (c) 2015-2025 Morwenn
2
2
# SPDX-License-Identifier: MIT
3
3
4
4
cmake_minimum_required (VERSION 3.8.0)
@@ -24,7 +24,7 @@ if (CPPSORT_USE_LIBASSERT)
24
24
include (DownloadProject)
25
25
download_project(PROJ libassert
26
26
GIT_REPOSITORY https://github.com/jeremy-rifkin/libassert
27
- GIT_TAG v1.2.2
27
+ GIT_TAG 634f50fb4086d377ad9a2f83d693d2e8fe4972a7 # v2.1.4
28
28
UPDATE_DISCONNECTED 1
29
29
)
30
30
add_subdirectory (${libassert_SOURCE_DIR} ${libassert_BINARY_DIR} )
@@ -57,7 +57,7 @@ endif()
57
57
58
58
# Optionally link to libassert
59
59
if (CPPSORT_USE_LIBASSERT)
60
- target_link_libraries (cpp-sort INTERFACE assert)
60
+ target_link_libraries (cpp-sort INTERFACE libassert:: assert)
61
61
target_compile_definitions (cpp-sort INTERFACE CPPSORT_USE_LIBASSERT)
62
62
endif ()
63
63
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (c) 2016-2023 Morwenn
2
+ * Copyright (c) 2016-2025 Morwenn
3
3
* SPDX-License-Identifier: MIT
4
4
*/
5
5
#ifndef CPPSORT_DETAIL_CONFIG_H_
69
69
#if defined(CPPSORT_ENABLE_ASSERTIONS)
70
70
# include < cassert>
71
71
# if defined(CPPSORT_USE_LIBASSERT)
72
- # include < assert.hpp>
72
+ # include < libassert/ assert.hpp>
73
73
# endif
74
74
#endif
75
75
You can’t perform that action at this time.
0 commit comments