using check_cxx_source_runs

Leo Franchi lfranchi at kde.org
Thu Mar 12 14:24:57 CET 2009


hey,

sorry for the new thread, i just subscribed. i can't figure out how to  
set the library path for the linker, so no matter what I do it always  
fails to find -lQtScript. in the cmake docs i see i can set the vars  
CMAKE_REQUIRED_FLAGS, CMAKE_REQUIRED_DEFINITIONS,  
CMAKE_REQUIRED_INCLUDES, and CMAKE_REQUIRED_LIBRARIES, but even though  
I add the libraries I want to link to the CMAKE_REQUIRED_LIBRARIES  
variable, the paths that are needed to find them are not there.

i'm pretty sure i'm missing something very basic, but I can't get the  
test program to compile.

cheers,
leo

---
Leo Franchi				(650) 704 3680
Tufts University 2010

lfranchi at kde.org
leonardo.franchi at tufts.edu



More information about the Kde-buildsystem mailing list