Fixed compilation

This commit is contained in:
Deve 2019-01-06 21:35:46 +01:00
parent b67c70bad7
commit 15e741fa04

View File

@ -85,9 +85,11 @@ set_property(TARGET
PUBLIC_HEADER
${API})
set_property(TARGET wiiuse APPEND PROPERTY
COMPILE_DEFINITIONS $<$<CONFIG:Debug>:WITH_WIIUSE_DEBUG>
)
if(MSVC)
set_property(TARGET wiiuse APPEND PROPERTY
COMPILE_DEFINITIONS $<$<CONFIG:Debug>:WITH_WIIUSE_DEBUG>
)
endif()
install(TARGETS wiiuse
RUNTIME DESTINATION bin