Skip to content
Snippets Groups Projects
Commit ee02efad authored by Enrico Guiraud's avatar Enrico Guiraud
Browse files

Build built-in LZMA with O3 optimization level

parent 70c584e5
No related branches found
No related tags found
No related merge requests found
......@@ -209,6 +209,7 @@ if(builtin_lzma)
set(LIBLZMA_CFLAGS "${LIBLZMA_CFLAGS} -isysroot ${CMAKE_OSX_SYSROOT}")
endif()
set(LIBLZMA_LIBRARIES ${CMAKE_BINARY_DIR}/lib/${CMAKE_STATIC_LIBRARY_PREFIX}lzma${CMAKE_STATIC_LIBRARY_SUFFIX})
set(LIBLZMA_CFLAGS "${LIBLZMA_CFLAGS} -O3")
ExternalProject_Add(
LZMA
URL ${CMAKE_SOURCE_DIR}/core/lzma/src/xz-${lzma_version}.tar.gz
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment