Fix cmake using wrong libs if internal libs is turned on

Use '\0' instead, just in case

(cherry picked from commit 9293c6cb32109b5b003114ab441e312df76f263c)
This commit is contained in:
Steel Titanium 2020-04-12 17:56:12 -04:00 committed by James R
parent e9748e5317
commit 3d1110a0c2
1 changed files with 2 additions and 2 deletions

View File

@ -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)