[CMake] Fwd: [Insight-users] Problem with CMakelist
Bill Hoffman
bill.hoffman at kitware.com
Sat Nov 7 10:08:21 EST 2009
John Drescher wrote:
> ---------- Forwarded message ----------
> From: Wen Shi <wsa18 at sfu.ca>
> Date: Sat, Nov 7, 2009 at 2:19 AM
> Subject: Re: [Insight-users] Problem with CMakelist
> To: John Drescher <drescherjm at gmail.com>
>
>
> Hi john,
> Thank you for your reply.
> But actually I first used " INCLUDE(${VXL_USE_FILE})"
> But when I use CMake to generate the project, there is a error saying
> that "INCLUDE" can only take one argument.
> So I used INCLUDE_DIRECTORIES(${VXL_USE_FILE}).
> I don't know why it says that.
>
Try: INCLUDE("${VXL_USE_FILE}")
It might be that you have a space in the path.
-Bill
More information about the CMake
mailing list