We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I see a cmake build option for both ogg and vorbis, but not this great theora library. It would be great to be able to request one.
The text was updated successfully, but these errors were encountered:
This is how I include libtheora in my CMake project:
set(THEORA_SRC_DIR ${CMAKE_CURRENT_SOURCE_DIR}/theora) if ((NOT EXISTS ${THEORA_SRC_DIR}) OR (NOT EXISTS ${THEORA_SRC_DIR}/CMakeLists.txt)) execute_process(COMMAND git clone -b v1.1.1 https://git.xiph.org/theora.git WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/) endif() add_library(theoradec OBJECT ${LIBTHEORA_DEC} "${THEORA_SRC_DIR}/lib/apiwrapper.c" "${THEORA_SRC_DIR}/lib/bitpack.c" "${THEORA_SRC_DIR}/lib/dequant.c" "${THEORA_SRC_DIR}/lib/fragment.c" "${THEORA_SRC_DIR}/lib/idct.c" "${THEORA_SRC_DIR}/lib/info.c" "${THEORA_SRC_DIR}/lib/internal.c" "${THEORA_SRC_DIR}/lib/state.c" "${THEORA_SRC_DIR}/lib/quant.c" "${THEORA_SRC_DIR}/lib/decapiwrapper.c" "${THEORA_SRC_DIR}/lib/decinfo.c" "${THEORA_SRC_DIR}/lib/decode.c" "${THEORA_SRC_DIR}/lib/huffdec.c") target_include_directories(theoradec PRIVATE ${OGG_INCLUDE_DIRS} "${THEORA_SRC_DIR}/include") target_compile_options(theoradec PRIVATE -Wno-shift-negative-value -Wno-shift-op-parentheses)
Sorry, something went wrong.
@jhasse Thanks, that works! Would be nice to have an official cmakelists though
No branches or pull requests
Hi, I see a cmake build option for both ogg and vorbis, but not this great theora library. It would be great to be able to request one.
The text was updated successfully, but these errors were encountered: