[CMake] FIND_LIBRARY in windows
William A. Hoffman
billlist at nycap.rr.com
Mon Oct 11 09:41:33 EDT 2004
I think you can use the $ENV{VAR} construct to search in the LIB PATH:
FIND_LIBRARY(FOO_VAR NAMES foo PATHS $ENV{LIB} )
At 09:32 AM 10/11/2004, Troels Frimor wrote:
>Hi all,
>
>it seems that the FIND_LIBRARY function in CMake does not take the environment variable LIB (in windows) into account when searching for libraries, but only looks in the PATH variable.
>
>Since lib files are in the paths specified by the LIB variable under windows, is there any way to reference to these paths under the call for finding a specific library?
>
>(I use: CMake2.0.3, WinXP with MS VC7)
>
>with best regards,
>Troels
>
>_______________________________________________
>CMake mailing list
>CMake at www.cmake.org
>http://www.cmake.org/mailman/listinfo/cmake
More information about the CMake
mailing list