I'm building my code on Linux using the g++ flags "-std=c++11". This means that 
I must link with the libIce++11 libraries instead of libIce.

The FindIce module, however as no provision for choosing these libraries thus 
resulting in unresolved symbols at link time.

I tried getting around the problem by simply listing Ice++11 as a COMPONENT 
which works in Linux but the same CMakeLists.txt file in Windows won't work as 
there is no Ice++11. Currently I have resolved this by having two calls to the 
FindIce module inside an IF( MSVC ) conditional.

Would it be possible to add a flag to tell the FindIce module whether C++11 is 
being used or not?

Thanks,

Jason

-
Dr Jason W Jones
Associate Professor
College of Engineering
Swansea University
Singleton Park
Swansea
UK
SA2 8PP
Tel: +44-1792-295869

-- 

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

Reply via email to