aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2022-12-22 10:07:23 +0000
committerSaturneric <[email protected]>2022-12-22 10:07:23 +0000
commitb15bf4bb645411dad440a74af2b9fd6c26ee4b51 (patch)
treeb00aaa435745cf9e4d059e9ff50fbb6ed5a9d3b6
parentfeat: upgrade version to v2.0.10 (diff)
downloadGpgFrontend-dev/2.0.9/main.tar.gz
GpgFrontend-dev/2.0.9/main.zip
fix: continue to solve ubuntu 18.04 build issuesdev/2.0.9/saturnericdev/2.0.9/main
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ee3f5758..1f08f440 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -449,6 +449,10 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DELPP_NO_DEFAULT_LOG_FILE")
# Introduce boost
if(NOT BOOST_ROOT)
find_package(Boost COMPONENTS date_time system REQUIRED)
+else()
+ find_package(Boost
+ COMPONENTS date_time system REQUIRED
+ PATHS ${BOOST_ROOT} NO_DEFAULT_PATH)
endif()
# Introduce OpenSSL