Hi, all.
I use cmake 2.4.8 on Windows XP with MSVC 2005 and Cygwin installed.

I have two versions of lib "A".

First one for MSVC - A.lib
Second one for gcc - libA.a

To find lib "A" I type this command
FIND_LIB(LIB_A A PATHS ${LIB_PATHS})

For NMake Generator all work fine. For "Unix Makefiles" Generator cmake
can't find library.
I tried to find problem and found this for "Unix Makefiles" Generator

CMAKE_FIND_LIBRARY_PREFIXES =
CMAKE_FIND_LIBRARY_SUFFIXES = .lib


What I do wrong. May be I must give some hint to cmake.

I use this command lines to generate makefiles

"cmake -G"NMake Makefiles" .." - for MSVC
"cmake -G"Unix Makefiels" .."  - for Cygwin gcc



--
Ilya Shvetsov
KranX Productions
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to