From: Antonio Ospite Date: Thu, 10 May 2012 12:58:26 +0000 (+0200) Subject: Don't set -pedantic-errors in CMAKE_C_FLAGS, it breaks check_symbol_exists() X-Git-Tag: v0.1.3~37^2~2 X-Git-Url: https://git.ao2.it/libam7xxx.git/commitdiff_plain/281f9e80f6fd38866b895f1d2509fbe006520e22?hp=281f9e80f6fd38866b895f1d2509fbe006520e22 Don't set -pedantic-errors in CMAKE_C_FLAGS, it breaks check_symbol_exists() Set -pedantic-errors in more specific variables like CMAKE_C_FLAGS_DEBUG, CMAKE_C_FLAGS_RELEASE and CMAKE_C_FLAGS_RELWITHDEBINFO. See also http://public.kitware.com/Bug/view.php?id=13208 ---