1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-05 00:23:56 +01: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

View File

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