1
0
Fork 0

src/CmakeLists.txt: Android: Prefer target_include_directories over include_directories

This commit is contained in:
SachinVin 2022-04-18 13:08:33 +05:30
parent 46880e8d54
commit c800a9e44c
1 changed files with 1 additions and 1 deletions

View File

@ -119,8 +119,8 @@ if (ENABLE_QT)
endif() endif()
if (ANDROID) if (ANDROID)
include_directories(android/app/src/main)
add_subdirectory(android/app/src/main/jni) add_subdirectory(android/app/src/main/jni)
target_include_directories(main PRIVATE android/app/src/main)
else() else()
add_subdirectory(dedicated_room) add_subdirectory(dedicated_room)
endif() endif()