CMake Build: Disable pkg-config for QNX
QNX doesn't come with pkg-config support. Task-number: QTBUG-83202 Change-Id: I2ac0c014a071b83ef9a2d8114bae0e9ff9b3b422 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>bb10
parent
535c6de9c4
commit
1b802c41eb
|
|
@ -66,7 +66,7 @@ function(qt_build_internals_disable_pkg_config_if_needed)
|
|||
# only be found via FooConfig.cmake files which means /usr/local should be in the system prefix
|
||||
# path.
|
||||
set(pkg_config_enabled ON)
|
||||
if(APPLE OR WIN32)
|
||||
if(APPLE OR WIN32 OR QNX)
|
||||
set(pkg_config_enabled OFF)
|
||||
endif()
|
||||
if(DEFINED FEATURE_pkg_config)
|
||||
|
|
|
|||
Loading…
Reference in New Issue