vcpkg/ports/libassert/include-dir.patch
Thomas1664 cd6d94cec5
[libassert] Use magic-enum from vcpkg (#36745)
* [libassert] Use magic-enum from vcpkg

* version

* copy pdbs

* version

* fix usage

* version

* find_dependency

* version

* Fix include path

* version
2024-02-14 23:01:53 -08:00

23 lines
670 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index c653d61..c9e599f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -43,7 +43,7 @@ target_include_directories(
assert
PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include/>
- $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/assert/assert>
+ $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/assert>
)
#set(CMAKE_CXX_FLAGS_REL_WITH_ASSERTS "-O3")
@@ -119,7 +121,7 @@ if(NOT CMAKE_SKIP_INSTALL_RULES)
install(
FILES
include/assert.hpp
- DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/assert/assert
+ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/assert
)
install(