Commit f1ee8453 authored by Ömer Fadıl Usta's avatar Ömer Fadıl Usta 😊
Browse files

Fix Boost dependency

If we use Boost_INCLUDE_DIR instead of Boost_INLUDE_DIRS without adding CONFIG
it wont be defined yet, so we are getting errors on error like this ( with Debug Builds )

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Boost_INCLUDE_DIR
parent aa7b4ff4
Pipeline #39172 failed with stage
in 55 minutes and 32 seconds
......@@ -79,7 +79,7 @@ option(BUILD_DESIGNERPLUGIN "Build plugin for Qt Designer" ON)
add_feature_info(DESIGNERPLUGIN ${BUILD_DESIGNERPLUGIN} "Build plugin for Qt Designer")
set(Boost_MINIMUM_VERSION "1.34.0")
find_package(Boost ${Boost_MINIMUM_VERSION})
find_package(Boost ${Boost_MINIMUM_VERSION} CONFIG)
set_package_properties(Boost PROPERTIES
DESCRIPTION "Boost C++ Libraries"
URL "https://www.boost.org"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment