Wayne Stambaugh <[email protected]>
writes:

> I have the same issue building KiCad.  CMake does not appear to know how
> to properly define the default search path for MinGW.  It probably sees
> MSYS defined and sets the default search path to /usr which is not what
> you want unless you are actually building an msys application.  You can
> find out what this path actually is by printing the CMAKE_PREFIX_PATH
> variable.  You can override this by calling cmake with
> -DCMAKE_PREFIX_PATH=/mingw64.  You shouldn't have to rename
> /usr/bin/pkg-config.exe.

  CMAKE_PREFIX_PATH
       Path used for searching by FIND_XXX(), with appropriate suffixes
       added.

       [...] By default it is empty, it is intended
       to be set by the project.  See also CMAKE_SYSTEM_PREFIX_PATH,
       CMAKE_INCLUDE_PATH, CMAKE_LIBRARY_PATH, CMAKE_PROGRAM_PATH.


Are you saying that CMAKE_PREFIX_PATH is not empty by default on your
CMake scripts?


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Msys2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/msys2-users

Reply via email to