forked from osmocom/wireshark
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>
This commit is contained in:
parent
7324555c1f
commit
5afbf7e0e5
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue