This commit is contained in:
Jacker 2015-09-30 12:29:34 +03:00
parent 7e88a7ec35
commit 70a2df3792

View file

@ -567,9 +567,11 @@ if(BUNDLED_THEORA)
LIST(APPEND THEORA_SRC ${THEORA_ASM_SRC})
endif()
INCLUDE_DIRECTORIES("${CMAKE_CURRENT_LIST_DIR}/theora/include")
add_library(bundled_theora STATIC ${THEORA_SRC})
target_include_directories(bundled_theora PUBLIC "${CMAKE_CURRENT_LIST_DIR}/theora/include")
#if(UNIX AND NOT APPLE)
# target_include_directories(bundled_theora PUBLIC "${CMAKE_CURRENT_LIST_DIR}/ogg/include")
#endif()
set(THEORA_BUNDLED_LIBRARIES bundled_theora)
set(THEORA_BUNDLED_INCLUDE_DIR "${CMAKE_CURRENT_LIST_DIR}/theora/include")