From 3d1110a0c2f0efee73bd0989bc7c6d1f6baa3b26 Mon Sep 17 00:00:00 2001 From: Steel Titanium Date: Sun, 12 Apr 2020 17:56:12 -0400 Subject: [PATCH] Fix cmake using wrong libs if internal libs is turned on Use '\0' instead, just in case (cherry picked from commit 9293c6cb32109b5b003114ab441e312df76f263c) --- src/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index d3fde6c2e..dc7e026b9 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -452,9 +452,9 @@ if(${SRB2_CONFIG_HAVE_CURL}) set(CURL_FOUND ON) set(CURL_INCLUDE_DIRS ${CMAKE_SOURCE_DIR}/libs/curl) if(${SRB2_SYSTEM_BITS} EQUAL 64) - set(CURL_LIBRARIES "-L${CMAKE_SOURCE_DIR}/libs/curl/lib32 -lcurl") - else() # 32-bit set(CURL_LIBRARIES "-L${CMAKE_SOURCE_DIR}/libs/curl/lib64 -lcurl") + else() # 32-bit + set(CURL_LIBRARIES "-L${CMAKE_SOURCE_DIR}/libs/curl/lib32 -lcurl") endif() else() find_package(CURL)