-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Build gives error when CMake file is modified #11984
Comments
I don't know but in this particular case it looks like it can't find zlib which is weird because the part of exiv2 that uses zlib (png compatibility) is currently disabled. I just looked at their cmake and it does seem they have one spot where they try to link to zlib regardless of if png compatibility is enabled. Maybe you can mess around with declaring ZLIB_INCLUDE_DIR or trying a different version of exiv2 |
@HTRamsey The problem is that when I delete the build file and build again it works. But cmake gives this error as soon as I add anything. |
I got a PR committed in exiv2 to fix that error |
Environment and versions I work with:
Windows 10
QT: 6.6.3
Problem: When I try to build the QGC application via cmake, it compiles the first time and runs the application. However, when I make a change on cmake, it gives an error. When I delete the build file and compile it again, it works this time.
I just added `message(“aaaa”)" to the cmake file
The text was updated successfully, but these errors were encountered: