diff options
Diffstat (limited to 'pcilib')
-rw-r--r-- | pcilib/CMakeLists.txt | 2 | ||||
-rw-r--r-- | pcilib/build.h.in | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/pcilib/CMakeLists.txt b/pcilib/CMakeLists.txt index b24c7b3..009357e 100644 --- a/pcilib/CMakeLists.txt +++ b/pcilib/CMakeLists.txt @@ -11,7 +11,7 @@ include_directories( set(HEADERS pcilib.h pci.h datacpy.h memcpy.h pagecpy.h cpu.h timing.h export.h value.h bar.h fifo.h model.h bank.h register.h view.h property.h unit.h xml.h py.h kmem.h irq.h locking.h lock.h dma.h event.h plugin.h tools.h error.h debug.h env.h config.h version.h build.h) add_library(pcilib SHARED pci.c datacpy.c memcpy.c pagecpy.c cpu.c timing.c export.c value.c bar.c fifo.c model.c bank.c register.c view.c unit.c property.c xml.c py.c kmem.c irq.c locking.c lock.c dma.c event.c plugin.c tools.c error.c debug.c env.c) target_link_libraries(pcilib dma protocols views ${CMAKE_THREAD_LIBS_INIT} ${UFODECODE_LIBRARIES} ${CMAKE_DL_LIBS} ${EXTRA_SYSTEM_LIBS} ${LIBXML2_LIBRARIES} ${PYTHON_LIBRARIES}) -add_dependencies(pcilib build dma protocols views) +add_dependencies(pcilib dma protocols views) install(TARGETS pcilib LIBRARY DESTINATION lib${LIB_SUFFIX} diff --git a/pcilib/build.h.in b/pcilib/build.h.in index 1713378..2c8a937 100644 --- a/pcilib/build.h.in +++ b/pcilib/build.h.in @@ -5,3 +5,4 @@ #define PCILIB_BUILD_DATE "${PCILIB_BUILD_DATE}" #define PCILIB_BUILD_DIR "${CMAKE_SOURCE_DIR}" #define PCILIB_LAST_MODIFICATION "${PCILIB_LAST_MODIFICATION}" +#cmakedefine PCILIB_RELEASE "${PCILIB_RELEASE}" |