1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-15 23:59:37 +02:00

[CMAKE] Portmidi: add missing Unix files in Cygwin (#442)

When doing the final link of Audacity executable on Cygwin, many errors like this one were printed on the console:

ld: ../lib/audacity/libportmidi.a(portmidi.c.o):portmidi.c:(.text+0x3f): undefined reference to `pm_alloc'

This happened because some files were missing since Cygwin name was not included together with other unix platforms.
This commit is contained in:
Carlo Bramini 2020-03-04 00:06:42 +01:00 committed by GitHub
parent b8fd99692d
commit 3d38ddf6a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,7 +23,7 @@ list( APPEND SOURCES
${TARGET_ROOT}/porttime/ptmacosx_mach.c
>
$<$<PLATFORM_ID:Linux,FreeBSD>:
$<$<PLATFORM_ID:Linux,FreeBSD,CYGWIN>:
${TARGET_ROOT}/pm_linux/finddefault.c
${TARGET_ROOT}/pm_linux/pmlinux.c
${TARGET_ROOT}/porttime/ptlinux.c