mirror of
https://github.com/etlegacy/etlegacy-libs.git
synced 2025-04-08 15:40:52 +00:00
support older cmake versions
This commit is contained in:
parent
70a2df3792
commit
7edf171724
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue