Fix for linux and mac
This commit is contained in:
parent
1e8ff3642c
commit
c6a632c33c
|
@ -139,7 +139,7 @@ IF(BUILD_MEGAGLEST)
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
|
|
||||||
IF(PKG_CONFIG_FOUND)
|
IF(NOT GENERATOR_TYPE STREQUAL "Visual Studio")
|
||||||
find_package(PkgConfig REQUIRED)
|
find_package(PkgConfig REQUIRED)
|
||||||
ENDIF()
|
ENDIF()
|
||||||
IF(FORCE_STREFLOP_SOFTWRAPPER)
|
IF(FORCE_STREFLOP_SOFTWRAPPER)
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
OPTION(FORCE_EMBEDDED_LIBS "Force use of embedded libraries' code." OFF)
|
OPTION(FORCE_EMBEDDED_LIBS "Force use of embedded libraries' code." OFF)
|
||||||
|
|
||||||
# IMPORTANT: should come BEFORE finding packages
|
# IMPORTANT: should come BEFORE finding packages
|
||||||
IF(PKG_CONFIG_FOUND)
|
IF(NOT GENERATOR_TYPE STREQUAL "Visual Studio")
|
||||||
find_package(PkgConfig REQUIRED)
|
find_package(PkgConfig REQUIRED)
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue