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:
parent
c174b254a1
commit
c0ec20a641
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user