[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-buildsystem
Subject:    Re: using check_cxx_source_runs
From:       Alexander Neundorf <neundorf () kde ! org>
Date:       2009-03-12 19:49:24
Message-ID: 200903122049.24467.neundorf () kde ! org
[Download RAW message or body]

On Thursday 12 March 2009, Leo Franchi wrote:
> 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.

Can you please post a minimal example ?
So I can just try and see what goes wrong ?

Alex
_______________________________________________
Kde-buildsystem mailing list
Kde-buildsystem@kde.org
https://mail.kde.org/mailman/listinfo/kde-buildsystem
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic