Skip to content

Does the CMake Workflow require Pkg-Config to be installed? #97

Description

@godofecht

This is the output I get when I try to use Fetch Content on the Master Branch.


-- Building KissFFT with datatype: float
-- Building shared library
-- PKGINCLUDEDIR is include/kissfft
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) 
CMake Error at C:/Program Files/CMake/share/cmake-3.29/Modules/FindPkgConfig.cmake:696 (message):
  pkg-config tool not found
Call Stack (most recent call first):
  C:/Program Files/CMake/share/cmake-3.29/Modules/FindPkgConfig.cmake:862 (_pkg_check_modules_internal)
  kissfft_temp/tools/CMakeLists.txt:18 (pkg_check_modules)


-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) 
CMake Error at C:/Program Files/CMake/share/cmake-3.29/Modules/FindPkgConfig.cmake:696 (message):
  pkg-config tool not found
Call Stack (most recent call first):
  C:/Program Files/CMake/share/cmake-3.29/Modules/FindPkgConfig.cmake:862 (_pkg_check_modules_internal)
  kissfft_temp/test/CMakeLists.txt:32 (pkg_check_modules

Installing pkg-config with Chocolatey seems to fix this issue.
Is this expected?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions