]> sigrok.org Git - pulseview.git/blobdiff - CMakeLists.txt
Use boost::filesystem::path to get the filename from a path
[pulseview.git] / CMakeLists.txt
index ebff3729f1b113a73ebbba68b1fa607ea07d6151..1b9c7d1a2b50fb3106a61c11e81c90df49ff87a7 100644 (file)
@@ -80,9 +80,9 @@ find_package(Threads)
 if(WIN32)
        # On Windows/MinGW 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 REQUIRED)
+       find_package(Boost 1.42 COMPONENTS filesystem system thread_win32 REQUIRED)
 else()
-       find_package(Boost 1.42 COMPONENTS system thread REQUIRED)
+       find_package(Boost 1.42 COMPONENTS filesystem system thread REQUIRED)
 endif()
 
 #===============================================================================