Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3363776
D4766.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D4766.diff
View Options
diff --git a/services/tunnelbroker/CMakeLists.txt b/services/tunnelbroker/CMakeLists.txt
--- a/services/tunnelbroker/CMakeLists.txt
+++ b/services/tunnelbroker/CMakeLists.txt
@@ -9,6 +9,8 @@
endif(COMMAND cmake_policy)
set(CMAKE_CXX_STANDARD 17)
+# For C++17 on MacOS, we must set minimum target to 10.14+
+set(CMAKE_OSX_DEPLOYMENT_TARGET 10.14)
find_package(PkgConfig REQUIRED)
@@ -21,10 +23,18 @@
find_package(amqpcpp CONFIG REQUIRED)
# Find Cryptopp installation
-pkg_check_modules(CRYPTOPP REQUIRED libcryptopp=8.6)
+pkg_check_modules(CRYPTOPP
+ REQUIRED
+ IMPORTED_TARGET
+ libcryptopp=8.6
+)
# Find Libuv installation
-pkg_check_modules(LIBUV REQUIRED libuv>=1.43)
+pkg_check_modules(LIBUV
+ REQUIRED
+ IMPORTED_TARGET
+ libuv>=1.43
+)
if(${CMAKE_CURRENT_SOURCE_DIR} STREQUAL "/transferred/tunnelbroker")
# Inside the docker build contex
@@ -82,8 +92,8 @@
gRPC::grpc++_reflection
gRPC::grpc++
${AWSSDK_LINK_LIBRARIES}
- ${CRYPTOPP_LIBRARIES}
- ${LIBUV_LIBRARIES}
+ PkgConfig::CRYPTOPP
+ PkgConfig::LIBUV
${Boost_LIBRARIES}
${RUST_LIBS}
amqpcpp
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 26, 3:22 AM (21 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2582284
Default Alt Text
D4766.diff (1 KB)
Attached To
Mode
D4766: [Services] Update tunnelbroker CMake to be MacOS compatible
Attached
Detach File
Event Timeline
Log In to Comment