Skip to content

Commit 20d94c8

Browse files
committed
Added CPP-NETLIB_LIBRARIES in CMakeLists.txt (see issue #334).
1 parent f590cb3 commit 20d94c8

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

CMakeLists.txt

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,6 @@ if (Boost_FOUND)
9999
add_subdirectory(deps/googletest)
100100
add_subdirectory(libs/network/test)
101101
endif (CPP-NETLIB_BUILD_TESTS)
102-
# if (CPP-NETLIB_BUILD_EXPERIMENTS)
103-
# add_subdirectory(libs/network/experiment)
104-
# endif (CPP-NETLIB_BUILD_EXPERIMENTS)
105-
# if (NOT MSVC AND CPP-NETLIB_BUILD_TESTS)
106-
# add_subdirectory(libs/mime/test)
107-
# endif(NOT MSVC AND CPP-NETLIB_BUILD_TESTS)
108102
if (CPP-NETLIB_BUILD_EXAMPLES)
109103
add_subdirectory(libs/network/example)
110104
endif (CPP-NETLIB_BUILD_EXAMPLES)
@@ -116,6 +110,8 @@ endif()
116110

117111
enable_testing()
118112

113+
set(CPP-NETLIB_LIBRARIES ${Boost_LIBRARIES} CACHE INTERNAL "Dependent libraries for header-only use")
114+
119115
install(DIRECTORY boost DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
120116

121117
###

0 commit comments

Comments
 (0)