diff --git a/CMakeLists.txt b/CMakeLists.txt index d112c2f..609e8ad 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,7 +8,7 @@ set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE) # The version number. set(VERSION_MAJOR 0) set(VERSION_MINOR 4) -set(VERSION_PATCH 1) +set(VERSION_PATCH 2) configure_file( "caesium/config.h.in" diff --git a/caesium/CMakeLists.txt b/caesium/CMakeLists.txt index a85ce68..33a4e33 100644 --- a/caesium/CMakeLists.txt +++ b/caesium/CMakeLists.txt @@ -1,8 +1,8 @@ if (NOT WIN32) set(CMAKE_C_FLAGS "--std=gnu99 -fPIC ${CMAKE_C_FLAGS}") -else() +else () set(CMAKE_C_FLAGS "--std=gnu99 ${CMAKE_C_FLAGS}") -endif() +endif () if (APPLE) find_library(zopflipng zopflipng /usr/local/lib) @@ -19,7 +19,7 @@ add_library(caesium_static STATIC caesium.c error.c utils.c png.c vendor/lodepng set_target_properties(caesium_static PROPERTIES OUTPUT_NAME caesium) -target_link_libraries(caesium zopflipng jpeg turbojpeg) +target_link_libraries(caesium jpeg turbojpeg zopflipng) # Make sure the compiler can find include files for our Caesium library # when other libraries or executables link to Caesium diff --git a/caesium/png.c b/caesium/png.c index 5269011..003a923 100644 --- a/caesium/png.c +++ b/caesium/png.c @@ -5,7 +5,7 @@ #define STBIW_ASSERT(x) #include -#include +#include #include "vendor/stb_image.h" #include "vendor/stb_image_write.h"