[CMake] How to clear variable.
Werner Smekal
smekal at iap.tuwien.ac.at
Fri Oct 10 19:16:35 EDT 2008
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 at 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: smekal at iap.tuwien.ac.at
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
More information about the CMake
mailing list