Hi,
I ran into some problems when I tried to set a cmake internal variable
(CMAKE_MODULE_PATH) from a function.
I understand that when I use list() commands an new local scoped
variable is created that I have to "export" to the parent scope. I tried
to do that but it seems that the scope of cmake internal variables is a
different thing.
As a workaround I used a macro, but I'd rather not.
Is this a bug? Or is there something different I need to do?
regards
Fabio
--
Dipl.-Inf. Fabio Fracassi
BZMM - Charite & Fraunhofer IPK (bzmm.charite.de)
Augustenburger Platz. 1
13353 Berlin
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake