]> sigrok.org Git - pulseview.git/blobdiff - CMakeLists.txt
Add -Wall compiler option.
[pulseview.git] / CMakeLists.txt
index c1d0eed089a3fac378e4da4eb57924bf40f15cc8..722b764c26b6cc09ccc8867e601c934426ede6b7 100644 (file)
@@ -60,9 +60,9 @@ find_package(Threads)
 if(WIN32)
 # On Windows/MinGW the we need to use 'thread_win32' instead of 'thread'.
 # The library is named libboost_thread_win32* (not libboost_thread*).
-find_package(Boost 1.42 COMPONENTS system thread_win32)
+find_package(Boost 1.42 COMPONENTS system thread_win32 REQUIRED)
 else()
-find_package(Boost 1.42 COMPONENTS system thread)
+find_package(Boost 1.42 COMPONENTS system thread REQUIRED)
 endif()
 
 #===============================================================================
@@ -148,7 +148,7 @@ include(${QT_USE_FILE})
 #-------------------------------------------------------------------------------
 
 add_definitions(${QT_DEFINITIONS})
-add_definitions(-Wextra)
+add_definitions(-Wall -Wextra)
 
 if(NOT DISABLE_WERROR)
        add_definitions(-Werror)