Avanindra Singh wrote:
> Hi,
>
> I am trying to access environment variables in CMakeLists.txt in UNIX
> environment. Here is example code
>
> message(STATUS "cuda path $ENV{CUDA_PATHS}" )
>
> and it is not printing anything for the variable. While when i try to echo
> it on terminal , i get proper value.
>
>
> avanindra@avanindra-Triayaam:~/projects/ros_3d/build$ echo ${CUDA_PATH}
> /usr/local/cudaexport CUDA_PATH ? Eike
signature.asc
Description: This is a digitally signed message part.
-- 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
