knowledge
by cmake
http://public.kitware.com/Bug/view.php?id=15361 for
check_cxx_source_compiles
Thanks!
Laurent
On 1/19/15, 1:35 PM, Laurent Demailly ldemai...@fb.com wrote:
I searched and didn't find yet would it be reasonable to have built in
support in cmake for knowing if the platform
I searched and didn't find yet would it be reasonable to have built in
support in cmake for knowing if the platform/compiler supports weak
symbols ?
I'm porting the following autconf fragment:
AC_CACHE_CHECK(
[for weak symbol support],
[folly_cv_prog_cc_weak_symbols],
[AC_LINK_IFELSE(
Answering my own question : this is fixed on trunk
http://www.cmake.org/Bug/view.php?id=15355
Laurent
From: Laurent Demailly ldemai...@fb.commailto:ldemai...@fb.com
Date: Wednesday, January 14, 2015 at 8:33 PM
To: cmake@cmake.orgmailto:cmake@cmake.org
cmake@cmake.orgmailto:cmake@cmake.org
Hi all,
I have a very simple CMakeLists.txt – am using cmake 3.1 to be able to easily
request C++ 11 – it works fine on ubuntu but not on MacOS with Xcode 6 and
command line tools installed:
$ cat CMakeLists.txt
cmake_minimum_required(VERSION 3.1)
project(Test1 C CXX)
# We need C++ 11