1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-12-11 23:17:39 +01:00

CMAKE_CURRENT_SOURCE_DIR was replaced with libunwind_SOURCE_DIR

This commit is contained in:
root 2010-08-22 17:34:00 +00:00
parent c7544f5e44
commit f0bb27017d
2 changed files with 4 additions and 2 deletions

View file

@ -1,4 +1,6 @@
cmake_minimum_required(VERSION 2.8) cmake_minimum_required(VERSION 2.8)
project(libunwind)
add_subdirectory(src) add_subdirectory(src)

View file

@ -34,8 +34,8 @@ check_function_exists(ttrace HAVE_TTRACE)
check_include_file(unistd.h HAVE_UNISTD_H) check_include_file(unistd.h HAVE_UNISTD_H)
test_big_endian(IS_BIG_ENDIAN) 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) ${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) ${CMAKE_CURRENT_BINARY_DIR}/include/libunwind-common.h)