neasing netbsd build. (#696)

all 3rd party packages are located in /usr/pkg so we lessen the burden
to set these.
This commit is contained in:
David CARLIER
2024-11-25 08:29:09 +00:00
committed by GitHub
parent 69e280c331
commit 33b7f656ab

View File

@@ -210,6 +210,11 @@ if(MSVC)
target_compile_options(snmalloc INTERFACE "/Zc:__cplusplus")
endif()
if (CMAKE_SYSTEM_NAME STREQUAL NetBSD)
target_include_directories(snmalloc INTERFACE /usr/pkg/include)
target_link_directories(snmalloc INTERFACE /usr/pkg/lib)
endif()
# Add header paths.
target_include_directories(snmalloc
INTERFACE