Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
lilleyse committed Sep 13, 2024
1 parent 6840bbe commit 2b20e61
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,12 @@ if (NOT VCPKG_TRIPLET)
endif()
endif()

if (NOT EZVCPKG_BASEDIR)
if (DEFINED ENV{EZVCPKG_BASEDIR})
set(EZVCPKG_BASEDIR "$ENV{EZVCPKG_BASEDIR}")
endif()
endif()

# Third party dependencies not handled by conan
add_subdirectory(extern)

Expand Down
1 change: 0 additions & 1 deletion cmake/Macros.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,6 @@ $<$<CONFIG:MinSizeRel>:${_EXPECTED_MINSIZEREL_POSTFIX}>")
if(MSVC)
# See https://learn.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-1-c4530?view=msvc-170
set(EXTERN_CXX_FLAGS ${EXTERN_CXX_FLAGS} "/EHsc")
set(EXTERN_CXX_FLAGS ${EXTERN_CXX_FLAGS} "-D_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR=1")
endif()

# Prepend options with -D
Expand Down
1 change: 1 addition & 0 deletions extern/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ add_external_project(
VCPKG_OVERLAY_PORTS=${VCPKG_OVERLAY_PORTS}
VCPKG_OVERLAY_TRIPLETS=${VCPKG_OVERLAY_TRIPLETS}
VCPKG_TRIPLET=${VCPKG_TRIPLET}
EZVCPKG_BASEDIR=${EZVCPKG_BASEDIR}
PROJECT_EXTERN_DIRECTORY
"${PROJECT_SOURCE_DIR}/extern"
)
Expand Down
2 changes: 1 addition & 1 deletion extern/cesium-native
Submodule cesium-native updated 1 files
+3 −0 CMakeLists.txt

0 comments on commit 2b20e61

Please sign in to comment.