diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2016-03-04 17:16:25 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2016-03-04 17:16:25 +0100 |
commit | c38706b3c8bbaec638cc49745fd71dfb14df37e5 (patch) | |
tree | 2ee8a5e06c1dd1d32d5d42e2fc19f842125ec221 | |
parent | 4c17aa5a10ffc232e7e4de45d8ab0b52cfc3010b (diff) | |
download | pcitool-c38706b3c8bbaec638cc49745fd71dfb14df37e5.tar.gz pcitool-c38706b3c8bbaec638cc49745fd71dfb14df37e5.tar.bz2 pcitool-c38706b3c8bbaec638cc49745fd71dfb14df37e5.tar.xz pcitool-c38706b3c8bbaec638cc49745fd71dfb14df37e5.zip |
Include checkincludefiles in cmake
-rw-r--r-- | CMakeLists.txt | 1 | ||||
-rw-r--r-- | misc/dkms.conf.in | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index fa86242..3dcc918 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -95,6 +95,7 @@ endif (NOT DISABLE_PYTHON) set(EXTRA_SYSTEM_LIBS -lrt) +include(CheckIncludeFiles) check_include_files(stdatomic.h HAVE_STDATOMIC_H) find_path(UTHASH_INCLUDE_DIRS uthash.h PATH_SUFFIXES uthash) diff --git a/misc/dkms.conf.in b/misc/dkms.conf.in index d495b3c..2e647a9 100644 --- a/misc/dkms.conf.in +++ b/misc/dkms.conf.in @@ -5,5 +5,6 @@ BUILT_MODULE_NAME=pciDriver BUILT_MODULE_LOCATION=driver/ PACKAGE_NAME=${PACKAGE_NAME} PACKAGE_VERSION=${CPACK_PACKAGE_VERSION} +DEST_MODULE_LOCATION[0]="/extra" REMAKE_INITRD=no AUTOINSTALL=yes |