Fix Actions CI for MSVC

Fixes #616
This commit is contained in:
Rangi
2021-01-01 21:22:17 -05:00
committed by Eldred Habert
parent 77279984a5
commit 7e3fc1db03
6 changed files with 20 additions and 7 deletions

View File

@@ -13,7 +13,7 @@ set(common_src
)
find_package(PkgConfig)
if(NOT PKG_CONFIG_FOUND)
if(MSVC OR NOT PKG_CONFIG_FOUND)
# fallback to find_package
find_package(PNG REQUIRED)
else()