Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdd2d96c

Browse files
committed
Do not try to link boost test libs dynamically for this test
1 parent29d9bea commitdd2d96c

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

‎libs/mime/test/CMakeLists.txt

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
include_directories(${CPP-NETLIB_SOURCE_DIR})
22
find_package (Boost1.41.0COMPONENTSunit_test_framework )
3-
set (Boost_USE_STATIC_LIBSON )
3+
4+
option (BOOST_DYN_LINK
5+
"Build the project using dynamic linking for the boost test libs"
6+
OFF)
7+
if (BOOST_DYN_LINK)
8+
message ("Do not try to link boost test libs dynamically for this test...")
9+
remove_definitions(-DBOOST_TEST_DYN_LINK)
10+
elseif (BOOST_DYN_LINK)
11+
set(Boost_USE_STATIC_LIBSON)
12+
endif(BOOST_DYN_LINK)
13+
414
set (Boost_USE_MULTITHREADEDON )
515

616
if (Boost_FOUND )

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp