From 471873dff989e511abbd7d98e6335cc4cc27f0db Mon Sep 17 00:00:00 2001 From: Laurent Gomila Date: Thu, 3 Jul 2014 08:01:44 +0200 Subject: [PATCH] Fixed typo in the sfml-graphics CMake file --- src/SFML/Graphics/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SFML/Graphics/CMakeLists.txt b/src/SFML/Graphics/CMakeLists.txt index f66fd416c..214bcd855 100644 --- a/src/SFML/Graphics/CMakeLists.txt +++ b/src/SFML/Graphics/CMakeLists.txt @@ -157,7 +157,7 @@ add_definitions(-DSTBI_FAILURE_USERMSG) # ImageLoader.cpp must be compiled with the -fno-strict-aliasing # when gcc is used; otherwise saving PNGs may crash in stb_image_write -if(SFML_OS_COMPILER_GCC) +if(SFML_COMPILER_GCC) set_source_files_properties(${SRCROOT}/ImageLoader.cpp PROPERTIES COMPILE_FLAGS -fno-strict-aliasing) endif()