X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=test%2FCMakeLists.txt;h=57ca26f0026de927c6fb60a0c77e3fd2271ed415;hp=ba1cce29c35099b0e05c552e1ce6342a7711d3db;hb=a9a88468dcac5f2de138f9dc4ffd0935d6927e06;hpb=c02f1e09ee27e5e39a629c607d4b0e14484ae6aa diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index ba1cce29..57ca26f0 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -131,7 +131,11 @@ if(ENABLE_DECODE) add_definitions(-DENABLE_DECODE) endif() +# On MinGW we need to use static linking. +if(NOT WIN32) add_definitions(-DBOOST_TEST_DYN_LINK) +endif() + add_definitions(${QT_DEFINITIONS}) include_directories(