]> sigrok.org Git - pulseview.git/blobdiff - CMakeLists.txt
Check if unportable sample pack/unpack works and in that case use it.
[pulseview.git] / CMakeLists.txt
index d98ff54c87023717e0ba5660b85b637070b8138a..d959a9f343cf8090c2291d1d1b95603e828c9ceb 100644 (file)
@@ -85,6 +85,13 @@ else()
        find_package(Boost 1.42 COMPONENTS system thread REQUIRED)
 endif()
 
+#===============================================================================
+#= System Introspection
+#-------------------------------------------------------------------------------
+
+include(memaccess)
+memaccess_check_unaligned_le(HAVE_UNALIGNED_LITTLE_ENDIAN_ACCESS)
+
 #===============================================================================
 #= Config Header
 #-------------------------------------------------------------------------------
@@ -111,6 +118,7 @@ configure_file (
 set(pulseview_SOURCES
        main.cpp
        pv/devicemanager.cpp
+       pv/devinst.cpp
        pv/mainwindow.cpp
        pv/sigsession.cpp
        pv/storesession.cpp
@@ -158,6 +166,7 @@ set(pulseview_SOURCES
 
 # This list includes only QObject derived class headers.
 set(pulseview_HEADERS
+       pv/devinst.h
        pv/mainwindow.h
        pv/sigsession.h
        pv/storesession.h