From 0d2fe6997ec003e3e7e11a393a665647350a5ae1 Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Tue, 12 Nov 2013 10:21:14 +0100 Subject: [PATCH] Fixed output path for JNI header generation script. --- CMakeLists.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e5d25f131..a11ecb4de 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -299,8 +299,11 @@ if(ANDROID) endif() set(CMAKE_FIND_ROOT_PATH ${CMAKE_FIND_ROOT_PATH} ${FREERDP_ANDROID_EXTERNAL_SSL_PATH}) set(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/client/Android/FreeRDPCore/jni/${ANDROID_ABI}) - CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/scripts/regenerate_jni_headers.sh.cmake - ${CMAKE_CURRENT_SOURCE_DIR}/scripts/regenerate_jni_headers.sh @ONLY) + CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/scripts/regenerate_jni_headers.sh.cmake + ${CMAKE_BINARY_DIR}/scripts/regenerate_jni_headers.sh @ONLY) + CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/scripts/gprof_generate.sh.cmake + ${CMAKE_BINARY_DIR}/scripts/gprof_generate.sh @ONLY) + endif() set(CMAKE_THREAD_PREFER_PTHREAD TRUE)