Allow installing on Windows

This commit is contained in:
mio
2025-02-10 15:59:46 +08:00
parent a903fa182b
commit 8082239cc3

View File

@@ -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)