Re: [CMake] CMake Reports Incorrect HDF5 Libraries on OS X after 3.6.0 Upgrade

2016-07-11 Thread Robert Maynard
Hi Breannan, I am able to reproduce this and will start digging into why this is occurring. On Sun, Jul 10, 2016 at 6:34 PM, Breannan Smith wrote: > After upgrading to CMake 3.6.0 from 3.5.2, CMake fails to find HDF5 on OS X. > > With 3.5.2, find_package(HDF5 REQUIRED COMPONENTS C) reports the >

[CMake] Package shared libraries when linking

2016-07-11 Thread portolan
Hello, I am building a C++14 projet in CMAKE for both Intel and ARM target, so I set up the cross-compilation and everything works fine build-wise. Unfortunately my ARM target Linux kernel does not have a libstdc++.so.6 so I cannot run the executable.is it possible to have CMAKE statical

Re: [CMake] CMAKE_C++_CREATE_SHARED_LIBRARY missing

2016-07-11 Thread Dvir Yitzchaki
You were close. I searched for 'C++' in all our CMakeLists.txt and found the line set_target_properties(foo PROPERTIES LINKER_LANGUAGE C++) changed that to CXX and now the error is gone. Thanks, Dvir -Original Message- From: Andreas Mohr [mailto:a...@lisas.de] Sent: Sunday, July