diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2015-05-02 00:37:45 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2015-05-02 00:37:45 +0200 |
commit | 92b8fe6e949f08308d237e87441e066a19a9eda6 (patch) | |
tree | af4f5e8aa9a06a9203f9aecc66d102968d2e8cbf /CMakeLists.txt | |
parent | ccc34fa5ecea32517b72ebc01aca8f02295105fe (diff) | |
download | pcitool-92b8fe6e949f08308d237e87441e066a19a9eda6.tar.gz pcitool-92b8fe6e949f08308d237e87441e066a19a9eda6.tar.bz2 pcitool-92b8fe6e949f08308d237e87441e066a19a9eda6.tar.xz pcitool-92b8fe6e949f08308d237e87441e066a19a9eda6.zip |
Provide data debugging API
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index e6313d5..d73596b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -57,9 +57,10 @@ if(NOT DEFINED LOCALE_INSTALL_DIR) set(LOCALE_INSTALL_DIR "${DATA_INSTALL_DIR}/locale") endif(NOT DEFINED LOCALE_INSTALL_DIR) -set(PCILIB_PLUGIN_DIR "${LIB_INSTALL_DIR}/pcilib") -set(PCILIB_DATA_DIR "${DATA_INSTALL_DIR}/pcilib") -set(PCILIB_MODEL_DIR "${PCILIB_DATA_DIR}/models") +set(PCILIB_PLUGIN_DIR "${LIB_INSTALL_DIR}/pcilib" CACHE PATH "Directory to install plugins") +set(PCILIB_DATA_DIR "${DATA_INSTALL_DIR}/pcilib" CACHE PATH "Directory to install data files") +set(PCILIB_MODEL_DIR "${PCILIB_DATA_DIR}/models" CACHE PATH "Directory to install XML models") +set(PCILIB_DEBUG_DIR "." CACHE PATH "Directory to write debug information") configure_file(${CMAKE_CURRENT_SOURCE_DIR}/pcitool.pc.in ${CMAKE_CURRENT_BINARY_DIR}/pcitool.pc) configure_file(${CMAKE_CURRENT_SOURCE_DIR}/pcilib/config.h.in ${CMAKE_CURRENT_BINARY_DIR}/pcilib/config.h) |