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

Commitd6e6a4a

Browse files
committed
fix build of shared libraries
even if CPP-NETLIB_BUILD_SHARED_LIBS was set to ON or TRUE, the sharedlibraries were not build unless BUILD_SHARED_LIBS also was enabled.now either of the two needs to be set to enable shared libraries.
1 parent9412dba commitd6e6a4a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

‎CMakeLists.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,14 @@ option( CPP-NETLIB_DISABLE_LIBCXX "Disable using libc++ when compiling with clan
1818
set(CMAKE_MODULE_PATH${CMAKE_CURRENT_SOURCE_DIR})
1919
find_package(ICU )
2020

21-
if(CPP-NETLIB_BUILD_SHARED_LIBS)
21+
if(CPP-NETLIB_BUILD_SHARED_LIBSORBUILD_SHARED_LIBS)
2222
set(Boost_USE_STATIC_LIBSOFF)
23+
set(CPP-NETLIB_BUILD_SHARED_LIBSON)
24+
set(BUILD_SHARED_LIBSON)
2325
else()
2426
set(Boost_USE_STATIC_LIBSON)
27+
set(CPP-NETLIB_BUILD_SHARED_LIBSOFF)
28+
set(BUILD_SHARED_LIBSOFF)
2529
endif()
2630
set(Boost_USE_MULTITHREADEDON)
2731
set(Boost_COMPONENTSsystemregexdate_timefilesystemprogram_options )

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp