X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=CMakeLists.txt;h=549d0665c0c3110d22a16f873be39beb62201562;hb=4f74cc67dd2b46d2abc0be5663c992410420091b;hp=4963bd5c64b954d574cb9fc503188bdfaf77f953;hpb=db3491e272f3754676673d52c89238e9cc43b7ad;p=apitrace diff --git a/CMakeLists.txt b/CMakeLists.txt index 4963bd5..549d066 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -268,18 +268,6 @@ endif () set (SCRIPTS_INSTALL_DIR ${LIB_INSTALL_DIR}/scripts) set (WRAPPER_INSTALL_DIR ${LIB_ARCH_INSTALL_DIR}/wrappers) -# Expose the binary/install directories to source -# -# TODO: Use the same directory layout, for both build and install directories, -# so that binaries can find each other using just relative paths. -# -add_definitions( - -DAPITRACE_INSTALL_PREFIX="${CMAKE_INSTALL_PREFIX}" - -DAPITRACE_PROGRAMS_INSTALL_DIR="${CMAKE_INSTALL_PREFIX}/bin" - -DAPITRACE_SCRIPTS_INSTALL_DIR="${CMAKE_INSTALL_PREFIX}/${SCRIPTS_INSTALL_DIR}" - -DAPITRACE_WRAPPERS_INSTALL_DIR="${CMAKE_INSTALL_PREFIX}/${WRAPPER_INSTALL_DIR}" -) - ############################################################################## # Common libraries / utilities