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) Logging/ConsoleListenerNix.cpp)
endif() endif()
set(LIBS enet) list(APPEND LIBS enet)
if(_M_ARM_64) if(_M_ARM_64)
set(SRCS ${SRCS} set(SRCS ${SRCS}
Arm64Emitter.cpp Arm64Emitter.cpp
@ -60,9 +60,9 @@ else()
endif() endif()
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) if(NOT APPLE AND NOT ANDROID)
set(LIBS ${LIBS} rt) list(APPEND LIBS rt)
endif() endif()
# OpenGL Interface # OpenGL Interface