Permalink
Browse files

CMAKE_CURRENT_SOURCE_DIR was replaced with libunwind_SOURCE_DIR

  • Loading branch information...
1 parent c7544f5 commit f0bb27017dc581f33be9c04301ad5b9ed9c9913a root committed Aug 22, 2010
Showing with 4 additions and 2 deletions.
  1. +2 −0 CMakeLists.txt
  2. +2 −2 src/config.cmake
View
@@ -1,4 +1,6 @@
cmake_minimum_required(VERSION 2.8)
+project(libunwind)
+
add_subdirectory(src)
View
@@ -34,8 +34,8 @@ check_function_exists(ttrace HAVE_TTRACE)
check_include_file(unistd.h HAVE_UNISTD_H)
test_big_endian(IS_BIG_ENDIAN)
-configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake.in
+configure_file(${libunwind_SOURCE_DIR}/src/config.h.cmake.in
${CMAKE_CURRENT_BINARY_DIR}/include/config.h)
-configure_file(${CMAKE_CURRENT_SOURCE_DIR}/libunwind-common.h.cmake.in
+configure_file(${libunwind_SOURCE_DIR}/src/libunwind-common.h.cmake.in
${CMAKE_CURRENT_BINARY_DIR}/include/libunwind-common.h)

0 comments on commit f0bb270

Please sign in to comment.