build: Make SSL work when using system curl on WIndows

This commit is contained in:
WerWolv 2023-03-23 20:12:33 +01:00
parent 2296766746
commit eb2ed6852c
1 changed files with 3 additions and 1 deletions

View File

@ -66,7 +66,9 @@ macro(detectOS)
set(CMAKE_INSTALL_LIBDIR ".")
set(PLUGINS_INSTALL_LOCATION "plugins")
SET(IMHEX_USE_BUNDLED_CA ON)
if (NOT USE_SYSTEM_CURL)
SET(IMHEX_USE_BUNDLED_CA ON)
endif ()
elseif (APPLE)
add_compile_definitions(OS_MACOS)
set(CMAKE_INSTALL_BINDIR ".")