Skip to content

Commit 643f081

Browse files
nlohmann_json and mac-os using Ninja
1 parent 845b27c commit 643f081

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

Scripts/BuildEngine.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ function Build([string]$configuration, [int]$VsVersion , [bool]$runBuild) {
162162
$env:CXX = 'g++'
163163
}
164164
"Darwin" {
165-
$cMakeGenerator = "-G `"Xcode`""
165+
$cMakeGenerator = "-G Ninja"
166166
$cMakeCacheVariableOverride += ' ' + $submoduleCMakeOptions.FRAMEWORK -join ' '
167167
}
168168
Default {

__externals/externals.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,14 @@ add_subdirectory (${EXTERNAL_DIR}/VulkanMemoryAllocator)
4646
add_subdirectory (${EXTERNAL_DIR}/tlsf)
4747
add_subdirectory (${EXTERNAL_DIR}/rapidhash)
4848
add_subdirectory (${EXTERNAL_DIR}/CLI11)
49+
add_subdirectory (${EXTERNAL_DIR}/nlohmann_json)
4950

5051
add_library (ZEngineLibs INTERFACE)
5152
add_library(TetragramaLibs INTERFACE)
5253

5354
target_link_libraries(TetragramaLibs INTERFACE
5455
CLI11::CLI11
56+
nlohmann_json::nlohmann_json
5557
)
5658

5759
target_link_libraries(ZEngineLibs INTERFACE

0 commit comments

Comments
 (0)