Git Product home page Git Product logo

Comments (4)

cblichmann avatar cblichmann commented on May 5, 2024

Yeah, some of those FindXXX modules are quite inconsistent. Though the behavior you encountered seems to be working as intended, I suppose. Does the build work for you if you just omit the PostgreSQL-related arguments to the CMake command-line? Because that'd be the ideal case -- CMake just finds everything it needs.

from binexport.

schomatis avatar schomatis commented on May 5, 2024

No, without them (and that was my original problem which triggered this issue) CMake selected the default PostgreSQL installation, with the build later failing:

LINK : fatal error LNK1181: cannot open input file 'C:\Program Files (x86)\PostgreSQL\9.5\lib\intl.lib'

But, looking now at my PostgreSQL installation, version 9.5 (the docs suggests to download a previous one), I see that (potentially) the same library exist but as libintl.lib, so maybe this is just a naming issue.

from binexport.

cblichmann avatar cblichmann commented on May 5, 2024

It appears that there is no other way to force FindPostgreSQL to reliably accept path overrides. So I guess your solution to add to CMAKE_FIND_ROOT_PATH is sensible. Re-rooting the search tree in this case isn't as bad as it sounds, though, as we're deliberately shipping/installing third-party dependencies in third_party.

from binexport.

cblichmann avatar cblichmann commented on May 5, 2024

Added your workaround. Marking as fixed.

from binexport.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.