Skip to content

Commit

Permalink
FMT_OS is module specific.
Browse files Browse the repository at this point in the history
  • Loading branch information
Arniiiii committed Aug 30, 2024
1 parent b55ef8e commit 1cc479b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,8 @@ if(${${PROJECT_NAME}_BUILD_HEADERS_ONLY})
URL
"https://github.com/fmtlib/fmt/archive/refs/tags/${fmtlib_VERSION}.tar.gz"
OPTIONS
"FMT_INSTALL YES" "FMT_MODULE ${an_inverted_${PROJECT_NAME}_USE_HEADER_ONLY_FMTLIB}")
"FMT_INSTALL YES" "FMT_MODULE
${an_inverted_${PROJECT_NAME}_USE_HEADER_ONLY_FMTLIB}" "FMT_OS ${an_inverted_${PROJECT_NAME}_USE_HEADER_ONLY_FMTLIB}")
elseif(${${PROJECT_NAME}_ENABLE_VCPKG})
find_package(fmt CONFIG REQUIRED)
elseif(${${PROJECT_NAME}_ENABLE_CONAN})
Expand Down

0 comments on commit 1cc479b

Please sign in to comment.