Commit 6d7f4df3 authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Do not fail when not finding pkg-config while compiling with MSVC.

parent a4f53095
......@@ -124,7 +124,7 @@ if(NOT PKG_CONFIG_PROGRAM)
)
endif()
if(NOT PKG_CONFIG_PROGRAM)
if(NOT PKG_CONFIG_PROGRAM AND NOT MSVC)
message(FATAL_ERROR "Could not find the pkg-config program.")
endif()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment