From 8aa89b6ce12119daa141eaa6d43a17f5f13e871c Mon Sep 17 00:00:00 2001 From: Marcelo Lira Date: Fri, 9 Dec 2011 21:45:10 -0300 Subject: Fixed CMake configuration of sbkversion.h header. --- libshiboken/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libshiboken') diff --git a/libshiboken/CMakeLists.txt b/libshiboken/CMakeLists.txt index 342151af..feb84989 100644 --- a/libshiboken/CMakeLists.txt +++ b/libshiboken/CMakeLists.txt @@ -7,7 +7,8 @@ else() set(shiboken_SUFFIX "") endif() -configure_file(sbkversion.h.in sbkversion.h @ONLY) +configure_file("${CMAKE_CURRENT_SOURCE_DIR}/sbkversion.h.in" + "${CMAKE_CURRENT_BINARY_DIR}/sbkversion.h" @ONLY) #Find installed sparsehash find_path(SPARSEHASH_INCLUDE_PATH sparseconfig.h PATH_SUFFIXES "/google/sparsehash") -- cgit v1.2.3