aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2013-04-24 12:57:56 +0000
committerJörg Mayer <jmayer@loplof.de>2013-04-24 12:57:56 +0000
commit7e51c9713b9a63a49d45f8602e98e0114e22ee96 (patch)
tree4bfb8d11a081707c799412462240749fd6dfa2f5 /wsutil
parent9db6d700cde9bcc88c00c86e5439079e06911c2a (diff)
dumpabi: This would create the directories in the sourcedir instead
of the binary dir. Fixed that. NOTE: It fails with and without this patch for out of tree builds: jmayer@egg:~/work/wireshark/svn/build/qt-gtk3> make dumpabi [ 1%] Built target wsutil [ 1%] Generating libwsutil.abi.tar.gz ERROR: can't find modules cp: cannot stat `abi_dumps/libwsutil/libwsutil_*': No such file or directory make[3]: *** [wsutil/libwsutil.abi.tar.gz] Error 1 make[2]: *** [wsutil/CMakeFiles/dumpabi-libwsutil.dir/all] Error 2 make[1]: *** [CMakeFiles/dumpabi.dir/rule] Error 2 make: *** [dumpabi] Error 2 jmayer@egg:~/work/wireshark/svn/build/qt-gtk3> svn path=/trunk/; revision=49014
Diffstat (limited to 'wsutil')
-rw-r--r--wsutil/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/wsutil/CMakeLists.txt b/wsutil/CMakeLists.txt
index df689bff48..94a2183082 100644
--- a/wsutil/CMakeLists.txt
+++ b/wsutil/CMakeLists.txt
@@ -78,7 +78,7 @@ configure_file(../abi-descriptor.template abi-descriptor.xml)
# http://ispras.linux-foundation.org/index.php/ABI_compliance_checker
# Checked using version 1.21.12
file(GLOB HEADERS *.h)
-file(MAKE_DIRECTORY abi-check-headers)
+file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/abi-check-headers)
file(COPY ${HEADERS} ../ws_symbol_export.h DESTINATION abi-check-headers)