/alps/pcitool

To get this branch, use:
bzr branch http://suren.me/webbzr/alps/pcitool

« back to all changes in this revision

Viewing changes to pcitool/CMakeLists.txt

  • Committer: Suren A. Chilingaryan
  • Date: 2016-03-16 19:06:34 UTC
  • Revision ID: csa@suren.me-20160316190634-srd1gqpxh5igizym
Use GNUInstallDirs

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
#    LINK_FLAGS "-Wl,pcitool/libpcitool.a"
26
26
#)
27
27
 
28
 
    if(NOT DEFINED BIN_INSTALL_DIR)
29
 
        set(BIN_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/bin")
30
 
    endif(NOT DEFINED BIN_INSTALL_DIR)
31
 
 
32
28
    install(TARGETS pci
33
 
        DESTINATION ${BIN_INSTALL_DIR}
 
29
        DESTINATION ${CMAKE_INSTALL_BINDIR}
34
30
    )
35
31
endif (NOT DISABLE_PCITOOL)