From 142a1a83472d4dde6e7fdc58a46c6800505f44ab Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Wed, 16 Mar 2016 20:06:34 +0100 Subject: Use GNUInstallDirs --- pcitool/CMakeLists.txt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'pcitool') diff --git a/pcitool/CMakeLists.txt b/pcitool/CMakeLists.txt index af0f6e4..6bd7ba1 100644 --- a/pcitool/CMakeLists.txt +++ b/pcitool/CMakeLists.txt @@ -25,11 +25,7 @@ if (NOT DISABLE_PCITOOL) # LINK_FLAGS "-Wl,pcitool/libpcitool.a" #) - if(NOT DEFINED BIN_INSTALL_DIR) - set(BIN_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/bin") - endif(NOT DEFINED BIN_INSTALL_DIR) - install(TARGETS pci - DESTINATION ${BIN_INSTALL_DIR} + DESTINATION ${CMAKE_INSTALL_BINDIR} ) endif (NOT DISABLE_PCITOOL) -- cgit v1.2.3