src/CmakeLists.txt: Android: Prefer target_include_directories over include_directories
This commit is contained in:
parent
46880e8d54
commit
c800a9e44c
1 changed files with 1 additions and 1 deletions
|
@ -119,8 +119,8 @@ if (ENABLE_QT)
|
|||
endif()
|
||||
|
||||
if (ANDROID)
|
||||
include_directories(android/app/src/main)
|
||||
add_subdirectory(android/app/src/main/jni)
|
||||
target_include_directories(main PRIVATE android/app/src/main)
|
||||
else()
|
||||
add_subdirectory(dedicated_room)
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue