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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user