Hi Klaas,

I'm quite sure, that

set(VARIABLE)

will clear it.

Werner

klaas.holwerda wrote:
Hi,

The find_path documentation says:

If the file in a directory is found the result is stored in the variable and the search will not be repeated unless the variable is cleared.

So how do i clear a variable?

The only thing i can work out is:

SET( VAR VAR-NOT-FOUND CACHE INTERNAL "" )

Is that really the way??

Thanks,

Klaas
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake


--
Dr. Werner Smekal
Institut fuer Allgemeine Physik
Technische Universitaet Wien
Wiedner Hauptstr 8-10
A-1040 Wien
Austria

email: [EMAIL PROTECTED]
web:   http://www.iap.tuwien.ac.at/~smekal
phone: +43-(0)1-58801-13463 (office)
       +43-(0)1-58801-13469 (laboratory)
fax:   +43-(0)1-58801-13499
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to