Skip to content

Commit fc1f692

Browse files
committed
Remove use of find_dependency(Boost) since it causes problems with CMake versions before 3.9
1 parent 8120975 commit fc1f692

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Release/cmake/cpprestsdk-config.in.cmake

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ if(@CPPREST_USES_OPENSSL@)
77
find_dependency(OpenSSL)
88
endif()
99

10-
if(@CPPREST_USES_BOOST@)
10+
if(@CPPREST_USES_BOOST@ AND OFF)
1111
if(UNIX)
1212
find_dependency(Boost COMPONENTS random system thread filesystem chrono atomic date_time regex)
1313
else()
1414
find_dependency(Boost COMPONENTS system date_time regex)
1515
endif()
1616
endif()
17-
include("${CMAKE_CURRENT_LIST_DIR}/cpprestsdk-targets.cmake")
17+
include("${CMAKE_CURRENT_LIST_DIR}/cpprestsdk-targets.cmake")

0 commit comments

Comments
 (0)