Leon Moctezuma wrote:
Hi all.
I'm Leon Moctezuma, a cs student, who is participating in GSoC and
working on Freepv, we are trying to use cmake
instead of autoconf for the projects building process we have been
able to create a basic CMakeLists.txt under both
Linux and Windows, It works almost fine.
At this point I'm very frustrated, after spending several days trying
to find common libraries such as zlib, glut or jpeg
under Windows, I'm stuck in the same point, I have to indicate where
the libraries are using the cmake GUI.
I've tried to do several things such as adding libraries' paths to lib
and include windows' environment variables, I also
created CMAKE_INCLUDE_PATH and CMAKE_LIBRARY_PATH environment
variables and tried to make my own
FindLibrary.cmake script, but nothing seems to work, could some one
guide me, for an example you could use
zlib... which has zconf.h and zlib.h headers and zlib.dll...
For one thing you need to find zlib.lib, can you give some example cmake
code that you are using? When
you use Find_library, you want to look for zlib and CMake will take care
of the extensions.
-Bill
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake