mirror of https://github.com/axmolengine/axmol.git
jni.hpp for android only
This commit is contained in:
parent
1941a43dc9
commit
c81bb1b4c4
|
@ -68,9 +68,14 @@ add_library(thirdparty STATIC empty.cpp)
|
|||
# header only libs
|
||||
target_include_directories(thirdparty
|
||||
INTERFACE "robin-map/include"
|
||||
INTERFACE "jni.hpp/include"
|
||||
)
|
||||
|
||||
if (ANDROID)
|
||||
target_include_directories(thirdparty
|
||||
INTERFACE "jni.hpp/include"
|
||||
)
|
||||
endif()
|
||||
|
||||
if(MACOSX OR ANDROID OR WINDOWS)
|
||||
add_subdirectory(zlib)
|
||||
target_link_libraries(thirdparty
|
||||
|
|
Loading…
Reference in New Issue