-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Target qrcodegencpp::qrcodegencpp
does not seem to work
#19
Labels
bug
Something isn't working
Comments
Can you post generated |
#----------------------------------------------------------------
# Generated CMake target import file for configuration "Release".
#----------------------------------------------------------------
# Commands may need to know the format version.
set(CMAKE_IMPORT_FILE_VERSION 1)
# Import target "qrcodegencpp::qrcodegencpp" for configuration "Release"
set_property(TARGET qrcodegencpp::qrcodegencpp APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
set_target_properties(qrcodegencpp::qrcodegencpp PROPERTIES
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/libqrcodegencpp.so.1.8.0"
IMPORTED_SONAME_RELEASE "libqrcodegencpp.so.1"
)
list(APPEND _cmake_import_check_targets qrcodegencpp::qrcodegencpp )
list(APPEND _cmake_import_check_files_for_qrcodegencpp::qrcodegencpp "${_IMPORT_PREFIX}/lib/libqrcodegencpp.so.1.8.0" )
# Commands beyond this point should not need to know the version.
set(CMAKE_IMPORT_FILE_VERSION) |
|
I was able to reproduce. |
leha-bot
added a commit
that referenced
this issue
Apr 22, 2023
leha-bot
added a commit
that referenced
this issue
Apr 22, 2023
xvitaly
added a commit
that referenced
this issue
Apr 22, 2023
CMake install(): Fix namespaced targets detection. (#19)
The target |
Great. Thanks for the report and testing. Tagged as v1.8.0-cmake2. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem details
Continuation of what said in obsproject/obs-deps#182.
The target
qrcodegencpp::qrcodegencpp
does not seem to work unlikeqrcodegencpp
that does work.Steps to reproduce
qrcodegencpp
byqrcodegencpp::qrcodegencpp
in thetarget_link_libraries()
of obs-websocketlegacy.cmake
file (we are progressively rewriting our CMake per OS/Platform so it might be weird for you)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
The text was updated successfully, but these errors were encountered: