From acbdcc8ea0d2c7f3f69aaeb1d9ee070799fd26e4 Mon Sep 17 00:00:00 2001 From: Glenn Rice Date: Wed, 11 Sep 2013 22:09:49 -0500 Subject: [PATCH] Use the POLARSSL_LIBRARY variable to set the link library. This fixes a possible linkage issue when multiple versions of the library are around. --- Source/Core/Core/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/CMakeLists.txt b/Source/Core/Core/CMakeLists.txt index 8989dcfcc5..d02f19556e 100644 --- a/Source/Core/Core/CMakeLists.txt +++ b/Source/Core/Core/CMakeLists.txt @@ -232,7 +232,7 @@ if(LIBUSB_FOUND) set(SRCS ${SRCS} Src/IPC_HLE/WII_IPC_HLE_Device_hid.cpp) endif(LIBUSB_FOUND) -set(LIBS ${LIBS} polarssl) +set(LIBS ${LIBS} ${POLARSSL_LIBRARY}) if(WIN32) set(SRCS ${SRCS} Src/HW/BBA-TAP/TAP_Win32.cpp Src/stdafx.cpp