Closed darealshinji closed 9 years ago
http://stackoverflow.com/questions/24096807/dso-missing-from-command-line meaning it's -lz for gcc but specifying add_library(z) for cmake would use -llibz which does not exist
that's why the jpeg is set like set(JPEG_LIBRARY jpeg) and added to linking targets of the binary instead of using add_library()
I suspect this is the problem here
currently we bundle zlib, please open this issue again if still valid
Linking dynamically against the system's zlib version instead of the bundled one fails:
OS: Linux Mint Kernel: x86_64 Linux 3.13.0-34-generic
PS: I have the same problem with libglew.