This problem is similar to the one I posted earlier except this one isn't fixing itself
. Whenever I try to compile a program that is dependent on QT I keep getting warning like this.
CMake Warning at /usr/share/apps/cmake/modules/KDE4Macros.cmake:561 (add_library):
Cannot generate a safe runtime search path for target plasma_applet_cwp
because there is a cycle in the constraint graph:
dir 0 is [/usr/lib/qt/lib]
dir 1 must precede it due to runtime library [libQtSvg.so.4]
dir 1 is [/usr/lib64/qt/lib]
dir 0 must precede it due to runtime library [libQtXml.so.4]
Some of these libraries may not be found correctly.
Call Stack (most recent call first):
I understand what this warning means, It basically saying its looking at /usr/lib/ first and then /usr/lib64 second? I know that is not right and that is why I am getting compile errors. How do I tell the buildscript to ignore /usr/lib and look in /usr/lib64. I am not to familiar yet with cmake so I dont know if its a line I could pass it fix this or not.