mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-20 18:01:16 +00:00
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:
parent
e9748e5317
commit
3d1110a0c2
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue