Merge pull request #136 from Gachapen/fix_initializer_list_check

Fix CMake FMT_INITIALIZER_LIST check failing because of wrong include name.
This commit is contained in:
Victor Zverovich 2015-03-17 06:48:52 -07:00
commit a6aa789f4b

View File

@ -104,7 +104,7 @@ check_cxx_source_compiles("
# Check if initializer lists are supported.
check_cxx_source_compiles("
#include <initilizer_list>
#include <initializer_list>
int main() {}" FMT_INITIALIZER_LIST)
if (NOT FMT_VARIADIC_TEMPLATES OR NOT FMT_INITIALIZER_LIST)