As a consequence, pkg-config packages built and installed in a non standard directory using ExternalProject, cannot be found, while cmake ones can be easily set cmake_prefix_path, The following Visual Studio Code settings are available for the Cmake extension. CMAKE_PREFIX_PATH: Indicates the path to important libraries such as netCDF and netCDF-Fortran. CMakeLists.txt: cmake_minimum_required ( VERSION 3.10 ) project ( … This is because pkg-config uses the PKG_CONFIG_PATH and does not know anything about CMAKE_PREFIX_PATH. Add the installation prefix to CMAKE_PREFIX_PATH. The extension was created and previously maintained by vector-of-bool, who has moved on to other things. FindPkgConfig does not support the CMAKE_PREFIX_PATH variable. Could not find a package configuration file provided by "Qt5" with any of the following names: Qt5Config.cmake qt5-config.cmake Add the installation prefix of "Qt5" to CMAKE_PREFIX_PATH or set "Qt5_DIR" to a directory containing one of the above files. It ought to be transferrable to earlier versions of the Windows OS and software. CMake is an alternative to qmake for automating the generation of build configurations. It's purpose is to help with getting CMake to find what you want it to find. Variable Description; QT_DEFAULT_MAJOR_VERSION: An integer that controls the Qt version that qt_ commands forward to in case of mixed Qt 5 and Qt 6 projects. The requested HTML page contains a