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

List:       cmake
Subject:    Re: [CMake] no space between include path
From:       "William A. Hoffman" <billlist () nycap ! rr ! com>
Date:       2006-10-04 12:56:45
Message-ID: 6.2.3.4.2.20061004085426.094ce040 () pop ! nycap ! rr ! com
[Download RAW message or body]

At 04:27 AM 10/4/2006, frederic heem wrote:
>Hi,
>An very simple CMakeLists.txt has been written to show to problem:
>
>include_directories("-I/bar")

That is the problem.   include_directories does not take a -I, 
the compiler may use some other flag, you just have to give
it the directory with no flags.

Run 
cmake --help-command include_directories

for documentation.

So, the -I has to be striped from the output of pkgconfig.


-Bill



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

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