I still have problem with CMake 2.8.3 on Natty x64:
make[2]: *** No rule to make target `/usr/lib/libpng.so', needed by `Project.so'. Stop.
CMakeLists.txt has been processed without warning or error. And my project has been built to [100%] but the error appeared at link time. libpng.so resides in /usr/lib/x86_64-linux-gnu/ folder.
Actually the link command with '-lpng' in CMakeFiles/Project.dir/link.txt can be just run fine if invoked manually because g++ is multiarch aware.
I still have problem with CMake 2.8.3 on Natty x64:
make[2]: *** No rule to make target `/usr/lib/ libpng. so', needed by `Project.so'. Stop.
CMakeLists.txt has been processed without warning or error. And my project has been built to [100%] but the error appeared at link time. libpng.so resides in /usr/lib/ x86_64- linux-gnu/ folder.
Actually the link command with '-lpng' in CMakeFiles/ Project. dir/link. txt can be just run fine if invoked manually because g++ is multiarch aware.