summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2015-11-21 13:37:54 +0100
committerPeter Wu <peter@lekensteyn.nl>2015-11-23 17:22:44 +0000
commit5afbf7e0e5c8116002cbd06abce48b410855d5e1 (patch)
treee9c9b4ebe79ce37896e4bc1fda6928412cb575a8 /cmake
parent7324555c1fef30a435a9be3c11c936b735507781 (diff)
downloadwireshark-5afbf7e0e5c8116002cbd06abce48b410855d5e1.tar.gz
cmake: fix "multiple rules generate abi-descriptor.template" warning
Fixes warning with "cmake -GNinja && ninja": ninja: warning: multiple rules generate /tmp/wireshark/abi-descriptor.template. builds involving this target will not be correct; continuing anyway [-w dupbuild=warn] Change-Id: I82ed3aefd32852e6a98060c1a175df855062531d Reviewed-on: https://code.wireshark.org/review/12009 Reviewed-by: Anders Broman <a.broman58@gmail.com> Petri-Dish: Anders Broman <a.broman58@gmail.com> Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/UseABICheck.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/UseABICheck.cmake b/cmake/modules/UseABICheck.cmake
index b5841e75d1..cd08c6a3e6 100644
--- a/cmake/modules/UseABICheck.cmake
+++ b/cmake/modules/UseABICheck.cmake
@@ -13,7 +13,7 @@ MACRO(ABICHECK _libname)
get_directory_property(INCLUDE_DIRS INCLUDE_DIRECTORIES)
list(REMOVE_DUPLICATES INCLUDE_DIRS)
string(REGEX REPLACE ";" "\n" INCLUDE_DIRS "${INCLUDE_DIRS}")
- configure_file(../abi-descriptor.template abi-descriptor.xml)
+ configure_file("${CMAKE_SOURCE_DIR}/abi-descriptor.template" abi-descriptor.xml)
# discover and substitute list of include directories for ABI compatibility
# checks
file(GLOB ABICHECK_HEADERS RELATIVE ${CMAKE_CURRENT_BINARY_DIR} *.h)