mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix cmake using wrong libs if internal libs is turned on
Use '\0' instead, just in case
(cherry picked from commit 47d70e1ae6)
This commit is contained in:
parent
fa18f819b0
commit
79469d401c
1 changed files with 2 additions and 2 deletions
|
|
@ -452,9 +452,9 @@ if(${SRB2_CONFIG_HAVE_CURL})
|
||||||
set(CURL_FOUND ON)
|
set(CURL_FOUND ON)
|
||||||
set(CURL_INCLUDE_DIRS ${CMAKE_SOURCE_DIR}/libs/curl)
|
set(CURL_INCLUDE_DIRS ${CMAKE_SOURCE_DIR}/libs/curl)
|
||||||
if(${SRB2_SYSTEM_BITS} EQUAL 64)
|
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")
|
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()
|
endif()
|
||||||
else()
|
else()
|
||||||
find_package(CURL)
|
find_package(CURL)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue