Hello together,

this is my first post to this mailing list as I am a new cmake user and
trying to learn it. I already posted the message but somehow it was not
accepted by nabble... 

I have a multiplatform project which requires the CURL package. On Linux the
package is found by cmake as it is located in standard paths. On windows it
cannot be found as the headers are in d:\local\include and the libs are in
e.g. d:\local\some-lib-folder. As find_package fails, I want the user to
specify additional lib and include directories in the cmake-gui or in ccmake
(it should not be hardcoded in the CMakeLists.txt).

How can I accomplish this? Probably this question was already answered
several times but I could not find any fitting answer. Thanks in advance!

rainman110 



--
View this message in context: 
http://cmake.3232098.n2.nabble.com/user-defined-search-path-for-find-package-tp7581039.html
Sent from the CMake mailing list archive at Nabble.com.
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to