We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b87eb3 commit d90a191Copy full SHA for d90a191
2 files changed
CMakeLists.txt
@@ -292,7 +292,7 @@ endif()
292
# Add header paths.
293
target_include_directories(snmalloc
294
INTERFACE
295
- $<INSTALL_INTERFACE:include/snmalloc>
+ $<INSTALL_INTERFACE:include>
296
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src>)
297
298
if(NOT MSVC)
test/vcpkg-consumer/test_header_only.cpp
@@ -1,11 +1,8 @@
1
/**
2
* Minimal vcpkg integration test for the snmalloc header-only target.
3
* Verifies that find_package(snmalloc) + snmalloc::snmalloc works.
4
- *
5
- * The installed INSTALL_INTERFACE include path is "include/snmalloc",
6
- * so we include snmalloc.h directly (not snmalloc/snmalloc.h).
7
*/
8
-#include <snmalloc.h>
+#include <snmalloc/snmalloc.h>
9
10
int main()
11
{
0 commit comments