From: Alexandru Gagniuc Date: Sat, 13 Oct 2012 00:11:16 +0000 (-0500) Subject: Do not pass -DBOOST_TEST_DYN_LINK to pulseview X-Git-Tag: pulseview-0.1.0~258 X-Git-Url: http://sigrok.org/gitweb/?a=commitdiff_plain;h=fb746bcc3d2b317e7ced838ff0f90cdf3dfe7aed;hp=fb746bcc3d2b317e7ced838ff0f90cdf3dfe7aed;p=pulseview.git Do not pass -DBOOST_TEST_DYN_LINK to pulseview -DBOOST_TEST_DYN_LINK is meant to be passed only to pulseview-test, not to pulseview. When test were enabled, this flag was defined globally, and as a result, also passed to pulseview. Create a CMakeLists.txt for test, and add test as a subdirectory when tests are enabled. This way, -DBOOST_TEST_DYN_LINK is only defined for our test app. Signed-off-by: Alexandru Gagniuc ---