Marie-Christine Vallet wrote:
I wanted to check for an non standard existing library (QGLViewer) and found a custom .cmake file on Internet that will do that for me. The problem is that I am starting cmake, and do not know where to place that custom .cmake file I found the custom .cmake file here: http://www-id.imag.fr/FLOWVR/manual/flowvr-suite-src/flowvr/cmake/FindQGLViewer.cmake

From looking at other projects, I think best practice is to put the file into a cmake_local or cmake_admin directory at the top of your source tree and then inserting the following code into your top-level CMakeLists.txt:

# Additional CMake modules for 3rd party library checks reside here
SET(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake_admin")

Cheers,
Mike



Could someone help me out on how to use this file, or point out a webpage that could help me out, I tried to find the information on the cmake web page, but did not find an obvious solution.
thanks,
Marie
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake



--
Michael Hansen - http://www.pfna.de/
Monheim / Germany
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to