Fix a bug in the Common CMakeLists file

We were overwriting the LIBS variable. Effectively dropping libiconv from the libs.
This commit is contained in:
Ryan Houdek 2016-02-05 10:51:56 -06:00
parent 19cd9ecf16
commit 38cb6ba6dc

View File

@ -42,7 +42,7 @@ else()
Logging/ConsoleListenerNix.cpp)
endif()
set(LIBS enet)
list(APPEND LIBS enet)
if(_M_ARM_64)
set(SRCS ${SRCS}
Arm64Emitter.cpp
@ -60,13 +60,13 @@ else()
endif()
endif()
set(LIBS "${CMAKE_THREAD_LIBS_INIT}" ${VTUNE_LIBRARIES})
list(APPEND LIBS "${CMAKE_THREAD_LIBS_INIT}" ${VTUNE_LIBRARIES})
if(NOT APPLE AND NOT ANDROID)
set(LIBS ${LIBS} rt)
list(APPEND LIBS rt)
endif()
# OpenGL Interface
set(SRCS ${SRCS}
set(SRCS ${SRCS}
GL/GLUtil.cpp
GL/GLExtensions/GLExtensions.cpp
GL/GLInterface/GLInterface.cpp)