Skip to content

Commit

Permalink
Fix local macOS build
Browse files Browse the repository at this point in the history
  • Loading branch information
gottagofaster236 committed Jun 23, 2024
1 parent 470d5c6 commit 4d498ed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/scripts/Build-Windows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ function Build {

$CmakeArgs += @(
"-DBoost_ROOT=${ProjectRoot}/.deps/boost"
"-Dfmt_DIR=${ProjectRoot}/.deps/fmt"
"-DFMT_DIRECTORY=${ProjectRoot}/.deps/fmt"
)

$CmakeBuildArgs += @(
Expand Down
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ set_target_properties(${CMAKE_PROJECT_NAME} PROPERTIES INTERPROCEDURAL_OPTIMIZAT
set(Boost_USE_STATIC_LIBS ON)
find_package(Boost REQUIRED COMPONENTS system url json)
find_package(OpenSSL REQUIRED)
if(DEFINED fmt_DIR)
add_subdirectory(${fmt_DIR})
if(DEFINED FMT_DIRECTORY)
add_subdirectory(${FMT_DIRECTORY})
else()
find_package(fmt REQUIRED)
endif()
Expand Down

0 comments on commit 4d498ed

Please sign in to comment.