Chuck Atkins wrote:
> Updated to allow for static and shared libs (yes, you can use shared libs
> on a cray).  The expectation is that your toolchain file will have the
> appropriate logic to deal with this.  Something like:
> 
> set(CMAKE_SYSTEM_NAME ComputeNodeLinux)
> ...
> if(DEFINED ENV{CRAYPE_LINK_TYPE} AND
>    "$ENV{CRAYPE_LINK_TYPE}" EQUALS "dynamic")
>   set(_CRAY_LINK_OPTS "-dynamic")

This looks wrong. There is no EQUALS operator in if, and EQUAL is for 
comparing numbers. You probably just meant something like

if(ENV{CRAYPE_LINK_TYPE} STREQUAL "dynamic")

Eike
-- 

Attachment: signature.asc
Description: This is a digitally signed message part.

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to