Fix map editor and g3d viewer build for linux and macos

This commit is contained in:
Jammyjamjamman 2021-06-14 21:15:34 +01:00 committed by James Sherratt
parent a3a3afc0f0
commit 6723924b5b
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ IF(BUILD_MEGAGLEST_MODEL_VIEWER)
MESSAGE(STATUS " wxWidgets: ${wxWidgets_INCLUDE_DIRS} ;/; ${wxWidgets_LIBRARIES}")
ENDIF()
IF(PKG_CONFIG_FOUND)
IF(NOT VS_BUILD)
find_package(PkgConfig REQUIRED)
ENDIF()
IF(FORCE_STREFLOP_SOFTWRAPPER)

View File

@ -82,7 +82,7 @@ IF(BUILD_MEGAGLEST_MAP_EDITOR)
ENDIF()
ENDIF()
IF(PKG_CONFIG_FOUND)
IF(NOT VS_BUILD)
find_package(PkgConfig REQUIRED)
ENDIF()
IF(FORCE_STREFLOP_SOFTWRAPPER)