Tell MSVC that main is still entry

This commit is contained in:
Jupeyy 2021-03-05 17:36:20 +01:00
parent 9b847d0862
commit 06dd469195

View file

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