mirror of
https://github.com/php-win-ext/winlib-builder.git
synced 2026-03-25 01:32:19 +01:00
31 lines
1.0 KiB
Diff
31 lines
1.0 KiB
Diff
diff --git a/build/cmake/lib/CMakeLists.txt b/build/cmake/lib/CMakeLists.txt
|
|
index 5d514cc..3205b2b 100644
|
|
--- a/build/cmake/lib/CMakeLists.txt
|
|
+++ b/build/cmake/lib/CMakeLists.txt
|
|
@@ -118,6 +118,7 @@ endmacro ()
|
|
|
|
# Define directories containing the library's public headers
|
|
set(PUBLIC_INCLUDE_DIRS ${LIBRARY_DIR})
|
|
+set(CMAKE_RC_FLAGS "${CMAKE_RC_FLAGS} /I ${LIBRARY_DIR}")
|
|
|
|
# Split project to static and shared libraries build
|
|
set(library_targets)
|
|
@@ -204,7 +205,7 @@ if (ZSTD_BUILD_SHARED)
|
|
set_target_properties(
|
|
libzstd_shared
|
|
PROPERTIES
|
|
- OUTPUT_NAME zstd
|
|
+ OUTPUT_NAME libzstd
|
|
VERSION ${zstd_VERSION_MAJOR}.${zstd_VERSION_MINOR}.${zstd_VERSION_PATCH}
|
|
SOVERSION ${zstd_VERSION_MAJOR})
|
|
endif ()
|
|
@@ -214,7 +215,7 @@ if (ZSTD_BUILD_STATIC)
|
|
libzstd_static
|
|
PROPERTIES
|
|
POSITION_INDEPENDENT_CODE On
|
|
- OUTPUT_NAME ${STATIC_LIBRARY_BASE_NAME})
|
|
+ OUTPUT_NAME libzstd_a)
|
|
endif ()
|
|
|
|
# pkg-config
|