Skip to content

Commit

Permalink
Merge pull request #136 from Gachapen/fix_initializer_list_check
Browse files Browse the repository at this point in the history
Fix CMake FMT_INITIALIZER_LIST check failing because of wrong include name.
  • Loading branch information
vitaut committed Mar 17, 2015
2 parents 357950e + b739ec8 commit a6aa789
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a6aa789

Please sign in to comment.