[CMake] Xcode and library search paths

Anders Sundman anders.sundman at optonova.se
Thu Sep 21 17:02:23 EDT 2006


Hi all!

Xcode and CMake works fine for me with one (minor) exception.

When I build my Xcode project with CMake and then compile i get the
following warning:

Tool:0: warning -L: directory name (/usr/local/lib/Debug) does not exist

It looks like CMake adds the entry: /usr/local/lib/$(CONFIGURATION) to the
Library Search Path for all targets (executables & libraries).

The warning only appears when the executables are built; the libraries
have the same entry in their Library Search Path but doesn't generate
warnings.

Any ideas or clues on how to fix this?

Best Regards
Anders Sundman


More information about the CMake mailing list