mirror of
https://github.com/SFML/SFML.git
synced 2024-12-01 15:51:04 +08:00
Fixed typo in the sfml-graphics CMake file
This commit is contained in:
parent
d73418261b
commit
471873dff9
@ -157,7 +157,7 @@ add_definitions(-DSTBI_FAILURE_USERMSG)
|
|||||||
|
|
||||||
# ImageLoader.cpp must be compiled with the -fno-strict-aliasing
|
# ImageLoader.cpp must be compiled with the -fno-strict-aliasing
|
||||||
# when gcc is used; otherwise saving PNGs may crash in stb_image_write
|
# 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)
|
set_source_files_properties(${SRCROOT}/ImageLoader.cpp PROPERTIES COMPILE_FLAGS -fno-strict-aliasing)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user