3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-05-25 11:26:22 +00:00

Visual Studio build

This commit is contained in:
Miodrag Milanovic 2026-05-22 19:54:19 +02:00
parent ba6083da16
commit 6039446e60
3 changed files with 51 additions and 38 deletions

View file

@ -2,7 +2,10 @@ include(CMakePushCheckState)
include(CheckCXXSymbolExists)
include(FindPackageHandleStandardArgs)
if (WIN32 OR MSYS)
if (MSVC)
set(Dlfcn_FOUND FALSE)
unset(Dlfcn_LIBRARIES CACHE)
elseif (WIN32 OR MSYS)
# Windows; dlopen is available via a polyfill `libs/dlfcn-win32`.
set(Dlfcn_LIBRARIES dlfcn)
else()