mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-31 05:03:22 +08:00
14 lines
759 B
Diff
14 lines
759 B
Diff
|
diff --git a/build/cmake/lib/CMakeLists.txt b/build/cmake/lib/CMakeLists.txt
|
||
|
index 5d514ccb..dd79efb7 100644
|
||
|
--- a/build/cmake/lib/CMakeLists.txt
|
||
|
+++ b/build/cmake/lib/CMakeLists.txt
|
||
|
@@ -123,7 +123,7 @@ set(PUBLIC_INCLUDE_DIRS ${LIBRARY_DIR})
|
||
|
set(library_targets)
|
||
|
if (ZSTD_BUILD_SHARED)
|
||
|
add_library(libzstd_shared SHARED ${Sources} ${Headers} ${PlatformDependResources})
|
||
|
- target_include_directories(libzstd_shared INTERFACE $<BUILD_INTERFACE:${PUBLIC_INCLUDE_DIRS}>)
|
||
|
+ target_include_directories(libzstd_shared PUBLIC $<BUILD_INTERFACE:${PUBLIC_INCLUDE_DIRS}>)
|
||
|
list(APPEND library_targets libzstd_shared)
|
||
|
if (ZSTD_MULTITHREAD_SUPPORT)
|
||
|
set_property(TARGET libzstd_shared APPEND PROPERTY COMPILE_DEFINITIONS "ZSTD_MULTITHREAD")
|