package An official xmake package repository https://xrepo.xmake.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

33 lines
1.0 KiB

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"