fix problems when build with older linux due incomplete curl flags
* due stupid developers CURL is not right detected in minetest * Author: PICCORO Lenz McKAY <mckaygerhard@gmail.com> * Bug: https://github.com/minetest/minetest/issues/8483 * Bug: https://github.com/minetest/minetest/issues/8482
This commit is contained in:
parent
dda9276abb
commit
00c3a46e83
@ -620,6 +620,7 @@ if(BUILD_CLIENT)
|
||||
${PROJECT_NAME}${VERSION_MAJOR}
|
||||
${CURL_LIBRARY}
|
||||
)
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -lidn -lrtmp")
|
||||
endif()
|
||||
if(USE_FREETYPE)
|
||||
if(FREETYPE_PKGCONFIG_FOUND)
|
||||
@ -688,6 +689,7 @@ if(BUILD_SERVER)
|
||||
${PROJECT_NAME}${VERSION_MAJOR}server
|
||||
${CURL_LIBRARY}
|
||||
)
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -lidn -lrtmp")
|
||||
endif()
|
||||
endif(BUILD_SERVER)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user