From 8fb58221d0a9c7346f8891b41b478069bc16d25c Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Mon, 11 Feb 2013 17:36:41 -0800 Subject: [PATCH] build portaudio from same directory as source --- interface/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/interface/CMakeLists.txt b/interface/CMakeLists.txt index 98aee9666a..9e356aa5eb 100644 --- a/interface/CMakeLists.txt +++ b/interface/CMakeLists.txt @@ -35,9 +35,11 @@ target_link_libraries(interface ) include(ExternalProject) +set(PORTAUDIO_PROJ_DIR external/portaudio) ExternalProject_Add( portaudio - PREFIX external/portaudio + PREFIX ${PORTAUDIO_PROJ_DIR} + BINARY_DIR ${PORTAUDIO_PROJ_DIR}/src/portaudio URL ${PORTAUDIO_DIR}/pa_snapshot_020813.tgz CONFIGURE_COMMAND /configure BUILD_COMMAND make