From f8d14edcdb9c0e56a6578f97256bc375e3617d70 Mon Sep 17 00:00:00 2001 From: Nick Bolton Date: Sat, 21 Sep 2024 12:40:22 +0100 Subject: [PATCH] build: fixed option name for `SYSTEM_TOMLPLUSPLUS` --- cmake/Libraries.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/Libraries.cmake b/cmake/Libraries.cmake index 2f28adf3f..b05cc05d6 100644 --- a/cmake/Libraries.cmake +++ b/cmake/Libraries.cmake @@ -645,9 +645,9 @@ macro(configure_tomlplusplus) set(DEFAULT_SYSTEM_TOMLPLUSPLUS ON) endif() - option(DEFAULT_SYSTEM_TOMLPLUSPLUS "Use system tomlplusplus" + option(SYSTEM_TOMLPLUSPLUS "Use system tomlplusplus" ${DEFAULT_SYSTEM_TOMLPLUSPLUS}) - if(DEFAULT_SYSTEM_TOMLPLUSPLUS) + if(SYSTEM_TOMLPLUSPLUS) message(VERBOSE "Using system tomlplusplus") find_package(tomlplusplus) if(tomlplusplus_FOUND)