> “make install
> Lang=en_US” and
> in my CMakeLists.txt : install(FILES language/$ENV{Lang}
>
> My problem is that
> the variable is replaced
> when the cmake is called so when I call “make install
> Lang=xx”, the
You may try to do something of the following
either: cmake -DLANG=en_US /path/to/source
either: SET(LANG "$ENV{LANG}") somewhere
either: "Use COMPONENT option from INSTALL command"
Denis
_______________________________________________
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