Fix for linux and mac
This commit is contained in:
parent
1e8ff3642c
commit
c6a632c33c
|
@ -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)
|
||||
|
|
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue