[CMake] Finding a library on Windows

Bill Hoffman bill.hoffman at kitware.com
Wed Oct 1 22:12:02 EDT 2008


Moritz Moeller wrote:

>   FIND_LIBRARY(3DELIGHT_LIBRARY NAMES 3Delight PATH $ENV{DELIGHT}/lib)
>   MESSAGE(STATUS ${3DELIGHT_LIBRARY})
>

It is PATHS not PATH.  You told it to look for a library that might be 
named 3Delight, PATH or C:/Program Files/3Delight/lib.

-Bill


More information about the CMake mailing list