From kde-buildsystem Thu Mar 12 13:24:57 2009 From: Leo Franchi Date: Thu, 12 Mar 2009 13:24:57 +0000 To: kde-buildsystem Subject: using check_cxx_source_runs Message-Id: <7EDD6A7A-1528-4546-9FD0-49C4BB8DA9B1 () kde ! org> X-MARC-Message: https://marc.info/?l=kde-buildsystem&m=123686435709101 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@kde.org leonardo.franchi@tufts.edu _______________________________________________ Kde-buildsystem mailing list Kde-buildsystem@kde.org https://mail.kde.org/mailman/listinfo/kde-buildsystem