Don't set -pedantic-errors in CMAKE_C_FLAGS, it breaks check_symbol_exists()
authorAntonio Ospite <ospite@studenti.unina.it>
Thu, 10 May 2012 12:58:26 +0000 (14:58 +0200)
committerAntonio Ospite <ospite@studenti.unina.it>
Thu, 10 May 2012 13:58:00 +0000 (15:58 +0200)
commit281f9e80f6fd38866b895f1d2509fbe006520e22
treef1bafe05e9b9ea7d4c02e10ede94bb99ede29d12
parent32c2367eaf9e77dca72a12a224cc8267976bce14
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
CMakeLists.txt