OK, CMake does not know what you are doing here. It is treating LDFLAGS like some linker flag. The idea was something like -64 or some other linker specific flag for a platform.

Ok.

If you inject directories into the link line, you are sort of out of luck. Why are you doing it this way?

What other way could I do it?

- There's no official definition of what should be found in LDFLAGS,
  but most of the software that use LDFLAGS (in particular autotools)
  expect you to put non-standard link directories in there.

- Isn't it the most standard way (in unix) to tell a build system to look
  for libraries in non-standard places?

Renaud.

_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to