mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Tell MSVC that main is still entry
This commit is contained in:
parent
9b847d0862
commit
06dd469195
|
@ -1900,6 +1900,10 @@ if(CLIENT)
|
|||
)
|
||||
target_link_libraries(${TARGET_CLIENT} ${LIBS_CLIENT})
|
||||
|
||||
if(MSVC)
|
||||
target_link_options(${TARGET_CLIENT} PRIVATE /ENTRY:mainCRTStartup)
|
||||
endif()
|
||||
|
||||
target_include_directories(${TARGET_CLIENT} PRIVATE
|
||||
${CURL_INCLUDE_DIRS}
|
||||
${FREETYPE_INCLUDE_DIRS}
|
||||
|
|
Loading…
Reference in a new issue