LibImage: Compile with -O3
This makes image resizing with cubic interpolation around 10x faster
This commit is contained in:
parent
65c6d62a15
commit
301dcd78cc
|
@ -16,6 +16,7 @@ add_custom_target(libimage-headers
|
|||
add_library(libimage ${LIBIMAGE_SOURCES})
|
||||
add_dependencies(libimage headers libc-install)
|
||||
target_link_libraries(libimage PUBLIC libc)
|
||||
target_compile_options(libimage PRIVATE -O3)
|
||||
|
||||
add_custom_target(libimage-install
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_if_different ${CMAKE_CURRENT_BINARY_DIR}/libimage.a ${BANAN_LIB}/
|
||||
|
|
Loading…
Reference in New Issue