Skip to content

Commit

Permalink
Fix slash directions on VST2Path for Azure (surge-synthesizer#1719)
Browse files Browse the repository at this point in the history
  • Loading branch information
baconpaul authored Apr 14, 2020
1 parent 7753945 commit 3546a20
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -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}
Expand Down

0 comments on commit 3546a20

Please sign in to comment.