Skip to content

Commit

Permalink
CMake Build: Disable pkg-config for QNX
Browse files Browse the repository at this point in the history
QNX doesn't come with pkg-config support.

Task-number: QTBUG-83202
Change-Id: I2ac0c014a071b83ef9a2d8114bae0e9ff9b3b422
Reviewed-by: Alexandru Croitor <[email protected]>
cristianadam committed Aug 19, 2020
1 parent 535c6de commit 1b802c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/QtBuildInternals/QtBuildInternalsConfig.cmake
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit 1b802c4

Please sign in to comment.