From 3546a2066e9d3e84f4065744072164c565fe1f18 Mon Sep 17 00:00:00 2001 From: Paul Date: Tue, 14 Apr 2020 14:23:41 -0400 Subject: [PATCH] Fix slash directions on VST2Path for Azure (#1719) Addresses #1206 --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 234fa6fe9db..8ef528426fd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -24,9 +24,10 @@ set( BUILD_HEADLESS true ) set( BUILD_VST3 true ) if( DEFINED ENV{VST2SDK_DIR} ) - message( "-- Configured to build VST2" ) set( BUILD_VST2 true ) - set( VST2SDK_DIR $ENV{VST2SDK_DIR} ) + file( TO_CMAKE_PATH "$ENV{VST2SDK_DIR}" VST2SDK_DIR ) + message( "-- Configured to build VST2 using " ${VST2SDK_DIR} ) + else() set( BUILD_VST2 false ) endif() @@ -516,7 +517,6 @@ if( BUILD_VST3 ) ${OS_COMPILE_OPTIONS} ) - message( "ADDING OS INCLUDE " ${OS_INCLUDE_DIRECTORIES}) target_include_directories(surge-vst3 PRIVATE ${SURGE_COMMON_INCLUDES}