1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-02 16:49:41 +02:00

[CMAKE] Add "/MANIFEST:NO" only to MSVC (#460)

The option "/MANIFEST:NO" is recognized only by Microsoft C++ compiler, so its addition must be limited to this compiler rather than generic target for Windows.
This commit is contained in:
Carlo Bramini 2020-03-21 16:28:05 +01:00 committed by GitHub
parent b683ed8c07
commit 84d0cd0220
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1041,7 +1041,7 @@ list( APPEND OPTIONS
list( APPEND LDFLAGS
PRIVATE
$<$<PLATFORM_ID:Windows>:/MANIFEST:NO>
$<$<CXX_COMPILER_ID:MSVC>:/MANIFEST:NO>
)
#