Skip to content

CMakeList not using LIBOPENSHOT_AUDIO_DIR variable provided on command line. #978

Open
@SnoopAir

Description

@SnoopAir

The documentation on https://www.openshot.org/en/user-guide/ states to use the variable LIBOPENSHOT_AUDIO_DIR in order to point to the recently build openshot audio library. But the CMakeList is not using it but trying to find it on the system!

cmake -DLIBOPENSHOT_AUDIO_DIR=../../libopenshot-audio/build/dist ..

I'm not sure how to create a "Pull request"... hope to learn that soon.

In the meantime, to fix that issue, line 180 of CMakeLists.txt

find_package(OpenShotAudio 0.3.0...0.3.3 REQUIRED)

should IMHO be modified like this:

find_package(OpenShotAudio 0.3.0...0.3.3 HINTS ${LIBOPENSHOT_AUDIO_DIR} REQUIRED)

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleThis issue has not had any activity in 90 days :(

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions