mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-01 16:05:07 +01:00
zstd: set include directory directly
This commit is contained in:
parent
8a67605450
commit
6876f1aaa4
1
externals/CMakeLists.txt
vendored
1
externals/CMakeLists.txt
vendored
@ -81,7 +81,6 @@ add_subdirectory(teakra EXCLUDE_FROM_ALL)
|
||||
|
||||
# Zstandard
|
||||
add_subdirectory(zstd/build/cmake EXCLUDE_FROM_ALL)
|
||||
target_include_directories(libzstd_static INTERFACE ./zstd/lib)
|
||||
|
||||
# ENet
|
||||
add_subdirectory(enet)
|
||||
|
@ -131,6 +131,7 @@ create_target_directory_groups(common)
|
||||
|
||||
target_link_libraries(common PUBLIC fmt microprofile Boost::boost Boost::serialization)
|
||||
target_link_libraries(common PRIVATE libzstd_static)
|
||||
target_include_directories(common PRIVATE ${CMAKE_SOURCE_DIR}/externals/zstd/lib)
|
||||
if (ARCHITECTURE_x86_64)
|
||||
target_link_libraries(common PRIVATE xbyak)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user