Skip to content

Commit

Permalink
Use spdlog-upgrade branch for CesiumNative and do not set OSX archite…
Browse files Browse the repository at this point in the history
…cture.
  • Loading branch information
josephbirkner committed Feb 22, 2024
1 parent 5f725b5 commit ee93601
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ project(erdblick)

include(FetchContent)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_OSX_ARCHITECTURES "x86_64")
set(CMAKE_CXX_STANDARD 20)

# Treat warnings as errors, with some exceptions for Cesium.
set (ERDBLICK_CXX_FLAGS
Expand All @@ -25,6 +24,12 @@ FetchContent_Declare(glm
GIT_SHALLOW ON)
FetchContent_MakeAvailable(glm)

FetchContent_Declare(mapget
GIT_REPOSITORY "https://github.com/Klebert-Engineering/mapget"
GIT_TAG "relations"
GIT_SHALLOW ON)
FetchContent_MakeAvailable(mapget)

# Fetch cesium-native
set(CESIUM_TESTS_ENABLED OFF)
set(CESIUM_GLM_STRICT_ENABLED OFF)
Expand All @@ -33,16 +38,10 @@ set(DRACO_JS_GLUE OFF CACHE BOOL "Disable JS glue for Draco" FORCE)
FetchContent_Declare(
cesiumnative
GIT_REPOSITORY https://github.com/Klebert-Engineering/cesium-native.git
GIT_TAG "main"
GIT_TAG "spdlog-upgrade"
GIT_SHALLOW ON)
FetchContent_MakeAvailable(cesiumnative)

FetchContent_Declare(mapget
GIT_REPOSITORY "https://github.com/Klebert-Engineering/mapget"
GIT_TAG "relations"
GIT_SHALLOW ON)
FetchContent_MakeAvailable(mapget)

FetchContent_Declare(yaml-cpp
GIT_REPOSITORY "https://github.com/jbeder/yaml-cpp.git"
GIT_TAG "yaml-cpp-0.7.0"
Expand Down

0 comments on commit ee93601

Please sign in to comment.