diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2023-05-25 21:57:30 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2023-05-25 21:57:30 +0200 |
commit | 2df3a4efe6127b9849698b8fadffbda5edd91320 (patch) | |
tree | 03ba6707ded99a172794cacf222b361907eac929 /CMakeLists.txt | |
parent | 8a71f80b564195735b034f16599f3abdf8690f2e (diff) | |
download | pcitool-2df3a4efe6127b9849698b8fadffbda5edd91320.tar.gz pcitool-2df3a4efe6127b9849698b8fadffbda5edd91320.tar.bz2 pcitool-2df3a4efe6127b9849698b8fadffbda5edd91320.tar.xz pcitool-2df3a4efe6127b9849698b8fadffbda5edd91320.zip |
Add PCILIB_DATA_DIR to pictool.pc
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 4d5680f..c33790f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -175,7 +175,7 @@ include(CPack) # In releases, we just keep the pre-generated build.h if(EXISTS ${CMAKE_SOURCE_DIR}/.bzr/ OR NOT EXISTS ${CMAKE_SOURCE_DIR}/pcilib/build.h) add_custom_target(build - COMMAND ${CMAKE_COMMAND} -DPCILIB_SOURCE_DIR=${CMAKE_SOURCE_DIR} -DPCILIB_BINARY_DIR=${CMAKE_BINARY_DIR} -P ${CMAKE_SOURCE_DIR}/cmake/build.cmake + COMMAND ${CMAKE_COMMAND} -DPCILIB_SOURCE_DIR=${CMAKE_SOURCE_DIR} -DPCILIB_BINARY_DIR=${CMAKE_BINARY_DIR} -DPCILIB_RELEASE=${CPACK_PACKAGE_VERSION} -P ${CMAKE_SOURCE_DIR}/cmake/build.cmake WORKING_DIRECTORY ${CMAKE_BINARY_DIR} ) add_dependencies(pcilib build) |