support older cmake versions
This commit is contained in:
parent
70a2df3792
commit
7edf171724
|
@ -567,8 +567,9 @@ 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")
|
||||
#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()
|
||||
|
|
Loading…
Reference in New Issue