diff --git a/Source/Core/Common/CMakeLists.txt b/Source/Core/Common/CMakeLists.txt index 21fdd2104e..05bc6621e7 100644 --- a/Source/Core/Common/CMakeLists.txt +++ b/Source/Core/Common/CMakeLists.txt @@ -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)