]> 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 edac86111c77c4f256096afd98a694a55ea64450..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
 #-------------------------------------------------------------------------------