remove win32 constraint on mingw specificities
This commit is contained in:
parent
309b6ff79f
commit
57cb4e0b5f
|
|
@ -18,7 +18,7 @@ endif()
|
|||
|
||||
qt_add_executable(Player ${SOURCE} ${HEADER})
|
||||
|
||||
if(WIN32 OR MINGW)
|
||||
if(MINGW)
|
||||
add_custom_command(TARGET Player POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E copy -t $<TARGET_FILE_DIR:Player> $<TARGET_RUNTIME_DLLS:Player>
|
||||
COMMAND_EXPAND_LISTS
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ endif()
|
|||
|
||||
add_executable(Server ${SOURCE} ${HEADER})
|
||||
|
||||
if(WIN32 OR MINGW)
|
||||
if(MINGW)
|
||||
add_custom_command(TARGET Server POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E copy -t $<TARGET_FILE_DIR:Server> $<TARGET_RUNTIME_DLLS:Server>
|
||||
COMMAND_EXPAND_LISTS
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ endif()
|
|||
|
||||
qt_add_executable(Studio ${SOURCE} ${HEADER})
|
||||
|
||||
if(WIN32 OR MINGW)
|
||||
if(MINGW)
|
||||
add_custom_command(TARGET Studio POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E copy -t $<TARGET_FILE_DIR:Studio> $<TARGET_RUNTIME_DLLS:Studio>
|
||||
COMMAND_EXPAND_LISTS
|
||||
|
|
|
|||
Loading…
Reference in New Issue