Skip to content

Commit ca8856e

Browse files
committed
Minor fixes and corrections
1 parent a7c443f commit ca8856e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -944,7 +944,7 @@ vcpkg install libassert
944944
```
945945
```cmake
946946
find_package(libassert CONFIG REQUIRED)
947-
target_link_libraries(main PRIVATE libassert::assert)
947+
target_link_libraries(YOUR_TARGET PRIVATE libassert::assert)
948948
```
949949

950950
# Platform Logistics

cmake/in/libassert-config-cmake.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Dependencies
55
include(CMakeFindDependencyMacro)
66
find_dependency(cpptrace REQUIRED)
7-
if(ASSERT_USE_MAGIC_ENUM)
7+
if(LIBASSERT_USE_MAGIC_ENUM)
88
find_dependency(magic_enum REQUIRED)
99
endif()
1010

src/assert.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ namespace libassert {
437437
(void)fflush(stderr);
438438
std::abort();
439439
// Breaking here as debug CRT allows aborts to be ignored, if someone wants to make a debug build of
440-
// this library (on top of preventing fallthrough from nonfatal libassert)
440+
// this library
441441
break;
442442
default:
443443
LIBASSERT_PRIMITIVE_ASSERT(false);

0 commit comments

Comments
 (0)