1 2 3 4 5 6 7 8
include_directories( ${CMAKE_SOURCE_DIR} ) set(HEADERS ${HEADERS} sysinfo.h) add_library(pcitool STATIC sysinfo.c)