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

fix asio build on windows (#615)

fix check for if ASIOSDK_DIR is defined, according to https://cmake.org/cmake/help/latest/variable/ENV.html
This commit is contained in:
Michael Pannekoek 2020-07-17 16:52:24 +10:00 committed by GitHub
parent c174b254a1
commit c0ec20a641
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@ set( CMAKE_MODULE_PATH ${TARGET_ROOT}/cmake_support )
# Define the platform specific interface options
if( CMAKE_SYSTEM_NAME MATCHES "Windows" )
if( ENV{ASIOSDK_DIR} )
if(DEFINED ENV{ASIOSDK_DIR} )
cmd_option(
${_OPT}use_pa_asio
"Use the portaudio ASIO interface if available"