We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Host Environment
To Reproduce
CMake project + vcpkg manifest.
vcpkg.json:
{ "$schema": "https://raw.githubusercontent.com/microsoft/vcpkg/master/scripts/vcpkg.schema.json", "name": "vcpkg-giflib-bug", "version": "1.0.0", "builtin-baseline": "a1737683a6f8ec5d8673890581c2a8c55838d411", "dependencies": [ "giflib" ] }
CMakeLists.txt:
cmake_minimum_required(VERSION 3.16) project(vcpkg-giflib-bug) find_package(GIF REQUIRED) add_executable(vcpkg-giflib-bug main.cpp) target_link_libraries(vcpkg-giflib-bug PRIVATE GIF::GIF)
main.cpp:
void main() { }
All other libraries that I used except Giflib were linked correctly.
The text was updated successfully, but these errors were encountered:
CMake's FindGIF.cmake doesn't support multi-config. A vcpkg cmake wrapper would mitigate the issue.
FindGIF.cmake
Sorry, something went wrong.
find_package(GIF)
LilyWangLL
Successfully merging a pull request may close this issue.
Host Environment
To Reproduce
CMake project + vcpkg manifest.
vcpkg.json:
CMakeLists.txt:
main.cpp:
All other libraries that I used except Giflib were linked correctly.
The text was updated successfully, but these errors were encountered: