zydis: update version (#3624)
* zydis: update version * fix mingw/macosx * add 4.0.0 * patch android * improve xmake.lua * add 4.1.0 * fix zycore-c verison * patch cmakepull/3630/head
parent
0ef4452fbb
commit
04815a3cc8
3 changed files with 127 additions and 14 deletions
@ -0,0 +1,33 @@ |
|||||||
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||||
|
index 5e812fb..0de18c8 100644
|
||||||
|
--- a/CMakeLists.txt
|
||||||
|
+++ b/CMakeLists.txt
|
||||||
|
@@ -75,7 +75,7 @@ set(ZYAN_ZYCORE_PATH
|
||||||
|
# =============================================================================================== #
|
||||||
|
|
||||||
|
if (ZYAN_SYSTEM_ZYCORE)
|
||||||
|
- find_package(Zycore)
|
||||||
|
+
|
||||||
|
else ()
|
||||||
|
# Try to initialize the Zycore submodule using Git
|
||||||
|
if (NOT EXISTS "${ZYAN_ZYCORE_PATH}/CMakeLists.txt" AND
|
||||||
|
@@ -127,8 +127,8 @@ set_target_properties("Zydis" PROPERTIES
|
||||||
|
VERSION "${Zydis_VERSION}"
|
||||||
|
SOVERSION "${Zydis_VERSION_MAJOR}.${Zydis_VERSION_MINOR}"
|
||||||
|
DEFINE_SYMBOL "ZYDIS_SHOULD_EXPORT")
|
||||||
|
-zyan_set_common_flags("Zydis")
|
||||||
|
-zyan_maybe_enable_wpo("Zydis")
|
||||||
|
+
|
||||||
|
+
|
||||||
|
|
||||||
|
if (ZYDIS_FEATURE_FORMATTER AND NOT ZYDIS_FEATURE_DECODER)
|
||||||
|
message(
|
||||||
|
@@ -237,7 +237,7 @@ if (ZYDIS_BUILD_SHARED_LIB AND WIN32)
|
||||||
|
target_sources("Zydis" PRIVATE "resources/VersionInfo.rc")
|
||||||
|
endif ()
|
||||||
|
|
||||||
|
-zyan_set_source_group("Zydis")
|
||||||
|
+
|
||||||
|
|
||||||
|
configure_package_config_file(cmake/zydis-config.cmake.in
|
||||||
|
"${CMAKE_CURRENT_BINARY_DIR}/zydis-config.cmake"
|
@ -0,0 +1,33 @@ |
|||||||
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||||
|
index 62d5de6..526cf6b 100644
|
||||||
|
--- a/CMakeLists.txt
|
||||||
|
+++ b/CMakeLists.txt
|
||||||
|
@@ -138,7 +138,7 @@ function (locate_zycore)
|
||||||
|
)
|
||||||
|
endfunction ()
|
||||||
|
|
||||||
|
-locate_zycore()
|
||||||
|
+
|
||||||
|
|
||||||
|
# =============================================================================================== #
|
||||||
|
# Library configuration #
|
||||||
|
@@ -163,8 +163,8 @@ set_target_properties("Zydis" PROPERTIES
|
||||||
|
VERSION "${Zydis_VERSION}"
|
||||||
|
SOVERSION "${Zydis_VERSION_MAJOR}.${Zydis_VERSION_MINOR}"
|
||||||
|
DEFINE_SYMBOL "ZYDIS_SHOULD_EXPORT")
|
||||||
|
-zyan_set_common_flags("Zydis")
|
||||||
|
-zyan_maybe_enable_wpo("Zydis")
|
||||||
|
+
|
||||||
|
+
|
||||||
|
|
||||||
|
if (ZYDIS_FEATURE_FORMATTER AND NOT ZYDIS_FEATURE_DECODER)
|
||||||
|
message(
|
||||||
|
@@ -273,7 +273,7 @@ if (ZYDIS_BUILD_SHARED_LIB AND WIN32)
|
||||||
|
target_sources("Zydis" PRIVATE "resources/VersionInfo.rc")
|
||||||
|
endif ()
|
||||||
|
|
||||||
|
-zyan_set_source_group("Zydis")
|
||||||
|
+
|
||||||
|
|
||||||
|
configure_package_config_file(cmake/zydis-config.cmake.in
|
||||||
|
"${CMAKE_CURRENT_BINARY_DIR}/zydis-config.cmake"
|
Loading…
Reference in new issue