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

Commitf2c7a72

Browse files
committed
add
1 parentc834e47 commitf2c7a72

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

‎CMakeLists.txt

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,17 @@
55

66
cmake_minimum_required(VERSION2.8)
77
project(CPP-NETLIB)
8-
set(Boost_USE_STATIC_LIBSON)
8+
9+
option (BOOST_DYN_LINK
10+
"Build the project using dynamic linking for the boost testing libs"
11+
OFF)
12+
if (BOOST_DYN_LINK)
13+
message ("Linking boost testing libs dynamically...")
14+
add_definitions(-DBOOST_TEST_DYN_LINK)
15+
elseif (BOOST_DYN_LINK)
16+
set(Boost_USE_STATIC_LIBSON)
17+
endif(BOOST_DYN_LINK)
18+
919
set(Boost_USE_MULTI_THREADEDON)
1020
find_package(Boost1.45.0REQUIREDunit_test_frameworksystemregexdate_timethreadfilesystemprogram_optionschrono )
1121
find_package(OpenSSL )

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp