fix: target winmain on windows

This commit is contained in:
Curve 2021-02-27 19:15:10 +01:00
parent ed2be39533
commit 5b8f5dbc5f
No known key found for this signature in database
GPG Key ID: 460F6C466BD35813

View File

@ -8,7 +8,11 @@ file(GLOB src
"src/*/*/*/*.cpp"
)
if (WIN32)
add_executable(soundux WIN32 ${src})
else()
add_executable(soundux ${src})
endif()
target_include_directories(soundux PRIVATE "lib/miniaudio")
target_include_directories(soundux PRIVATE "lib/fancypp/include")