From: Michael Wallner Date: Thu, 6 Feb 2020 17:32:53 +0000 (+0100) Subject: cmake: compat X-Git-Tag: post_cmake~13 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=02c768d4e3b6da33c974ff4d95701a23097096fb;p=awesomized%2Flibmemcached cmake: compat --- diff --git a/.travis.yml b/.travis.yml index cb09e5af..b753d101 100644 --- a/.travis.yml +++ b/.travis.yml @@ -37,6 +37,6 @@ script: #after_success: after_failure: - - cat build/Testing/Temporary/LastTest.log + - cat Testing/Temporary/LastTest.log #after_script: diff --git a/support/CMakeLists.txt b/support/CMakeLists.txt index 08203f9c..c3de3b47 100644 --- a/support/CMakeLists.txt +++ b/support/CMakeLists.txt @@ -4,12 +4,12 @@ install(FILES ax_libmemcached.m4 ) configure_file(example.cnf.in example.cnf @ONLY) -install(FILES example.cnf +install(FILES ${CMAKE_CURRENT_BINARY_DIR}/example.cnf DESTINATION ${CMAKE_INSTALL_DATADIR} ) configure_file(libmemcached.pc.in libmemcached.pc @ONLY) -install(FILES libmemcached.pc +install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libmemcached.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig )