Code Monkey home page Code Monkey logo

qrcodegen-cmake's People

Contributors

delta512 avatar dependabot[bot] avatar leha-bot avatar xvitaly avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

delta512

qrcodegen-cmake's Issues

Badges

Describe whatever you want to be implemented in future:

Add badges to README.

Enable unit tests

Describe whatever you want to be implemented in future:

Enable unit tests.

Target `qrcodegencpp::qrcodegencpp` does not seem to work

Problem details

Continuation of what said in obsproject/obs-deps#182.

The target qrcodegencpp::qrcodegencpp does not seem to work unlike qrcodegencpp that does work.

Steps to reproduce

  1. Install qrcodegencpp with this CMake "patch"
  2. Apply the patch https://src.fedoraproject.org/rpms/obs-studio/blob/rawhide/f/obs-studio-websocket-use-system-qrcodegencpp.patch to a clone of obs-studio repo
  3. Replace qrcodegencpp by qrcodegencpp::qrcodegencpp in the target_link_libraries() of obs-websocket legacy.cmake file (we are progressively rewriting our CMake per OS/Platform so it might be weird for you)
  4. The project will error while configuring

Expected behavior

No configuration error, qrcodegencpp::qrcodegencpp must have worked.

Actual behavior

The target qrcodegencpp::qrcodegencpp is not found.

Project version

1.8.0

OS name and version

Arch Linux (with qrcodegen-cmake AUR package)

C/C++ compiler

GCC

Compiler version

12.2.1

CMake version

3.26.3

Logs

-- Configuring done (2.7s)
CMake Error at plugins/obs-websocket/cmake/legacy.cmake:131 (target_link_libraries):
  Target "obs-websocket" links to:

    qrcodegencpp::qrcodegencpp

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.

Call Stack (most recent call first):
  cmake/Modules/ObsHelpers.cmake:519 (include)
  plugins/obs-websocket/CMakeLists.txt:3 (legacy_check)


-- Generating done (0.1s)
CMake Generate step failed.  Build files cannot be regenerated correctly.
*** Failure: Exit code 1 ***

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.