Hexagenic / wanikaniwallpaper

Create a wallpaper based on your WaniKani progress
26 stars 7 forks source link

Fixed problem with -std compiler flag #23

Closed mrowqa closed 7 years ago

mrowqa commented 7 years ago

Hey,

I tried compiling it on WSL, but it crashed due to default C++ standard used in my compiler - it was older than C++11. Also, CMake 3.0 is not available for WSL, so I changed the number to something lower. It works for me without any warnings.

PS set(CMAKE_CXX_STANDARD 11) doesn't work with my CMake (2.8.12.2). PPS haven't checked if my fix works universally, especially on clang.

mrowqa

Hexagenic commented 7 years ago

Works for gcc and clang. Not sure if it will work in visual studio.

Merged for now because Travis CI required this fix as well.

Thanks 👍