mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-27 12:04:16 +01:00
src/CmakeLists.txt: Android: Prefer target_include_directories over include_directories
This commit is contained in:
parent
46880e8d54
commit
c800a9e44c
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user