mirror of https://github.com/bjornbytes/lovr.git
Only enable windows console subsystem for Debug builds;
This commit is contained in:
parent
9b3723145b
commit
a3cfbb6023
|
@ -310,8 +310,9 @@ target_link_libraries(lovr
|
|||
)
|
||||
|
||||
if(WIN32)
|
||||
# Disable warnings about loss of precision for lua_Number
|
||||
set_target_properties(lovr PROPERTIES COMPILE_FLAGS "/wd4244")
|
||||
set_target_properties(lovr PROPERTIES LINK_FLAGS_DEBUG "/SUBSYSTEM:CONSOLE")
|
||||
set_target_properties(lovr PROPERTIES LINK_FLAGS_RELEASE "/SUBSYSTEM:windows /ENTRY:mainCRTStartup")
|
||||
|
||||
function(move_dll ARG_TARGET)
|
||||
add_custom_command(TARGET lovr POST_BUILD
|
||||
|
|
Loading…
Reference in New Issue