Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ cmake_minimum_required(VERSION 3.15)

project(ospray_studio VERSION 1.2.0 LANGUAGES CXX C)

# https://gitlab.kitware.com/cmake/cmake/-/issues/18837
if (MSVC AND (MSVC_VERSION GREATER_EQUAL 1914))
add_compile_options(/Zc:__cplusplus)
endif()

include(GNUInstallDirs)
include(ProcessorCount)

Expand Down
2 changes: 1 addition & 1 deletion sg/generator/UnstructuredVol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ void UnstructuredVol::generateData()
std::vector<uint32_t> cells = {0, 8, 14, 18};

// define cell types
std::vector<OSPUnstructuredCellType> cellTypes = {
std::vector<uint8_t> cellTypes = {
OSP_HEXAHEDRON, OSP_WEDGE, OSP_TETRAHEDRON, OSP_PYRAMID};

auto &volume = tf.createChild("unstructured_volume", "volume_unstructured");
Expand Down
Loading