]> granicus.if.org Git - libevent/commit
cmake: fix adding of compiler flags, and now it will
authorAzat Khuzhin <a3at.mail@gmail.com>
Wed, 9 Mar 2016 21:33:04 +0000 (00:33 +0300)
committerAzat Khuzhin <a3at.mail@gmail.com>
Wed, 9 Mar 2016 21:48:16 +0000 (00:48 +0300)
commit36588e169dc495073d30ba8173fa74a2d8c0f744
treeef58b9473772afddc5247bfe864a2d77bb6b2f82
parentf29f59e8114bc038afae65ea9d6937cee8906f66
cmake: fix adding of compiler flags, and now it will

- add_compiler_flags() must accept array IOW just ARGN will be enoough
- add_compiler_flags() called with variable name instead of it's value

P.S. and fix some alignments issues
P.P.S. more cmake issues expected since now CFLAGS actually works
P.P.P.S. some issues with cmake cache is possible, so just reset it
CMakeLists.txt
cmake/AddCompilerFlags.cmake