Commit fa9f7736 authored by Shlomi Fish's avatar Shlomi Fish

Made the black-hole-solver option more consistent.

parent c13de9bc
......@@ -6,8 +6,8 @@ set (KF5_MIN_VERSION "5.30.0")
include(FindPkgConfig)
pkg_check_modules(FC_SOLVE REQUIRED libfreecell-solver)
option(WITH_GOLF_SOLVER "Make use of https://github.com/shlomif/black-hole-solitaire for Golf")
if (WITH_GOLF_SOLVER)
option(WITH_BH_SOLVER "Make use of https://github.com/shlomif/black-hole-solitaire for solving Golf")
if (WITH_BH_SOLVER)
pkg_check_modules(BLACK_HOLE_SOLVER REQUIRED libblack-hole-solver)
add_definitions(-DWITH_BH_SOLVER)
endif()
......
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