Fixes for compiling glslang on Android.

Primarily fix is due to Android not supporting std::to_string().
This commit is contained in:
Andrew Woloszyn
2015-08-17 11:39:38 -04:00
parent f99b7dde08
commit 8b64fa5474
5 changed files with 21 additions and 1 deletions

View File

@@ -24,7 +24,9 @@ set(LIBRARIES
if(WIN32)
set(LIBRARIES ${LIBRARIES} psapi)
elseif(UNIX)
set(LIBRARIES ${LIBRARIES} pthread)
if(NOT ANDROID)
set(LIBRARIES ${LIBRARIES} pthread)
endif()
endif(WIN32)
target_link_libraries(glslangValidator ${LIBRARIES})