From 8082239cc3a105a6aa1e69c1a122f5eb7999f19c Mon Sep 17 00:00:00 2001 From: mio Date: Mon, 10 Feb 2025 15:59:46 +0800 Subject: [PATCH] Allow installing on Windows --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b1f389bf..c224c37c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1507,7 +1507,7 @@ if(UNICORN_BUILD_TESTS) endif() -if(UNICORN_INSTALL AND NOT MSVC) +if(UNICORN_INSTALL) include("GNUInstallDirs") file(GLOB UNICORN_HEADERS ${CMAKE_CURRENT_SOURCE_DIR}/include/unicorn/*.h) if (BUILD_SHARED_LIBS)