Use the POLARSSL_LIBRARY variable to set the link library. This fixes a

possible linkage issue when multiple versions of the library are around.
This commit is contained in:
Glenn Rice 2013-09-11 22:09:49 -05:00
parent b9c1af04ad
commit acbdcc8ea0

View File

@ -232,7 +232,7 @@ if(LIBUSB_FOUND)
set(SRCS ${SRCS} Src/IPC_HLE/WII_IPC_HLE_Device_hid.cpp) set(SRCS ${SRCS} Src/IPC_HLE/WII_IPC_HLE_Device_hid.cpp)
endif(LIBUSB_FOUND) endif(LIBUSB_FOUND)
set(LIBS ${LIBS} polarssl) set(LIBS ${LIBS} ${POLARSSL_LIBRARY})
if(WIN32) if(WIN32)
set(SRCS ${SRCS} Src/HW/BBA-TAP/TAP_Win32.cpp Src/stdafx.cpp set(SRCS ${SRCS} Src/HW/BBA-TAP/TAP_Win32.cpp Src/stdafx.cpp