[CMake] Finding a library on Windows

Moritz Moeller cmake at virtualritz.com
Wed Oct 1 22:16:00 EDT 2008


Bill Hoffman wrote:
> 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.

That was it. Thanks heaps for the quick response, Bill!

--Moritz


More information about the CMake mailing list