Fix for linux and mac

This commit is contained in:
Jammyjamjamman 2021-06-08 19:13:10 +01:00 committed by James Sherratt
parent 1e8ff3642c
commit c6a632c33c
2 changed files with 2 additions and 2 deletions

View File

@ -139,7 +139,7 @@ IF(BUILD_MEGAGLEST)
ENDIF()
IF(PKG_CONFIG_FOUND)
IF(NOT GENERATOR_TYPE STREQUAL "Visual Studio")
find_package(PkgConfig REQUIRED)
ENDIF()
IF(FORCE_STREFLOP_SOFTWRAPPER)

View File

@ -4,7 +4,7 @@
OPTION(FORCE_EMBEDDED_LIBS "Force use of embedded libraries' code." OFF)
# IMPORTANT: should come BEFORE finding packages
IF(PKG_CONFIG_FOUND)
IF(NOT GENERATOR_TYPE STREQUAL "Visual Studio")
find_package(PkgConfig REQUIRED)
ENDIF()