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

View File

@ -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()