mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-30 17:24:31 +01:00
cmake: unify CLI name
This commit is contained in:
parent
dbf8d641c6
commit
75fac71f7a
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user