]> https://gitweb.dealii.org/ - dealii.git/commit
CMake: Bugfix: Strip input variables for CHECK_COMPILER_SETUP 2905/head
authorMatthias Maier <tamiko@43-1.org>
Mon, 1 Aug 2016 16:38:01 +0000 (11:38 -0500)
committerMatthias Maier <tamiko@43-1.org>
Mon, 1 Aug 2016 16:42:33 +0000 (11:42 -0500)
commit35341509f13b9054fe7782fde2cb3a9f42f6e81d
tree9bcb5e2ce3db7ce22e7281c5bd584ab1432ebc2a
parentec5220074a30da52d4d68309bf297be2aa848c28
CMake: Bugfix: Strip input variables for CHECK_COMPILER_SETUP

CMake 2.8.8 (and possibly till 2.8.11) do not normalize
CMAKE_REQUIRED_FLAGS and CMAKE_REQUIRED_LIBRARIES correctly leading to
stray "-l " in the linker command line.

Fix this by normalizing the input of CHECK_COMPILER_SETUP by stripping
leading and trailing whitespace
cmake/macros/macro_check_compiler_setup.cmake

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.