Removed dependencies on Boost on Android

This commit is contained in:
Xawotihs
2015-11-20 12:59:26 +01:00
parent 9afebe0851
commit cd1c09127f

View File

@@ -172,11 +172,7 @@ elseif(backend_sdl)
include_directories(${MTG_INCLUDE_DIRS} ${JGE_INCLUDE_DIRS} ${SDL2_INCLUDE_DIR} ${ZIPFS_INCLUDE_DIR}
${BOOST_INCLUDE_DIRS} ${UNZIP_INCLUDE_DIR} ${HGE_INCLUDE_DIR} ${TINYXML_INCLUDE_DIR})
#we should try to get rid of this hack
add_library(wagic SHARED ${MTG_generic_src} ${MTG_android_sdl_src}
${ANDROID_BOOST_PTHREAD_SRC_DIR}/thread.cpp
${ANDROID_BOOST_PTHREAD_SRC_DIR}/once.cpp
${ANDROID_BOOST_SYSTEM_SRC_DIR}/error_code.cpp
src/TestSuiteAI.cpp)
add_library(wagic SHARED ${MTG_generic_src} ${MTG_android_sdl_src} src/TestSuiteAI.cpp)
target_link_libraries(wagic ${JGE_LIBRARY} ${SDL2_LIBRARY} ${OPENGL_LIBRARIES} ${TINYXML_LIBRARIES}
${HGE_LIBRARY})
elseif(WIN32)