Skip to content

Commit

Permalink
fix missing link with libtess2 static lib
Browse files Browse the repository at this point in the history
  • Loading branch information
karimnaaji committed Oct 27, 2014
1 parent 087dfdc commit 020f550
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build/toolchains/android.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -std=c++11 -pedantic -llog -lz")
set(CXX_FLAGS_DEBUG "${CXX_FLAGS_DEBUG} -g -O0")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -pedantic -fPIC")
set(LIBCURL_PRECOMPILED_LIB ${CMAKE_SOURCE_DIR}/android/jni/precompiled/${ANDROID_ABI}/libcurl.a)
set(LIBTESS_PRECOMPILED_LIB ${CMAKE_SOURCE_DIR}/android/jni/precompiled/${ANDROID_ABI}/libtess2.a)

# include dependency headers
include_directories(${PROJECT_SOURCE_DIR}/android/jni/include)
Expand All @@ -43,7 +44,7 @@ set(ADDITIONNAL_TARGET_DEPENDENT_SRC_FILES
set(INSTALL_CORE_LIBRARY "ON")
set(CORE_LIB_TYPE SHARED)
set(CORE_INSTALLATION_PATH ${CMAKE_SOURCE_DIR}/android/libs/${ANDROID_ABI})
set(CORE_LIB_DEPS GLESv2 ${LIBCURL_PRECOMPILED_LIB})
set(CORE_LIB_DEPS GLESv2 ${LIBCURL_PRECOMPILED_LIB} ${LIBTESS_PRECOMPILED_LIB})
set(CORE_LIB_NAME tangram) # in order to have libtangram.so

include_directories(${PROJECT_SOURCE_DIR}/core/include/)
Expand Down

0 comments on commit 020f550

Please sign in to comment.