cmake: unify CLI name

This commit is contained in:
bnnm 2021-08-27 00:24:26 +02:00
parent dbf8d641c6
commit 75fac71f7a

View File

@ -3,6 +3,16 @@
add_executable(vgmstream_cli
vgmstream_cli.c)
if(WIN32)
set_target_properties(vgmstream_cli PROPERTIES
PREFIX ""
OUTPUT_NAME "test")
else()
set_target_properties(vgmstream_cli PROPERTIES
PREFIX ""
OUTPUT_NAME "vgmstream-cli")
endif()
# Link to the vgmstream library
target_link_libraries(vgmstream_cli libvgmstream)