File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -944,7 +944,7 @@ vcpkg install libassert
944
944
```
945
945
``` cmake
946
946
find_package(libassert CONFIG REQUIRED)
947
- target_link_libraries(main PRIVATE libassert::assert)
947
+ target_link_libraries(YOUR_TARGET PRIVATE libassert::assert)
948
948
```
949
949
950
950
# Platform Logistics
Original file line number Diff line number Diff line change 4
4
# Dependencies
5
5
include(CMakeFindDependencyMacro)
6
6
find_dependency(cpptrace REQUIRED)
7
- if(ASSERT_USE_MAGIC_ENUM )
7
+ if(LIBASSERT_USE_MAGIC_ENUM )
8
8
find_dependency(magic_enum REQUIRED)
9
9
endif()
10
10
Original file line number Diff line number Diff line change @@ -437,7 +437,7 @@ namespace libassert {
437
437
(void )fflush (stderr);
438
438
std::abort ();
439
439
// 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
441
441
break ;
442
442
default :
443
443
LIBASSERT_PRIMITIVE_ASSERT (false );
You can’t perform that action at this time.
0 commit comments