Skip to content

Commit

Permalink
Add cstdint header include for OpenEXR
Browse files Browse the repository at this point in the history
  • Loading branch information
Kingstom committed Jun 7, 2023
1 parent 6c98946 commit afcf826
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function (CHECK_EXT NAME DIR HASH)
endif (GIT_FOUND)
endfunction ()

check_ext ("OpenEXR" "openexr/OpenEXR" 5cfb5dab6dfada731586b0281bdb15ee75e26782)
check_ext ("OpenEXR" "openexr/OpenEXR" ff21ca074b31bfc46532f858fcfffcd9d0bc8f20)
check_ext ("OpenVDB" "openvdb/nanovdb" 414bed84c2fc22e188eac7b611aa85c7edd7a5a9)
check_ext ("Ptex" "ptex/src" 4cd8e9a6db2b06e478dfbbd8c26eb6df97f84483)
check_ext ("double-conversion" "double-conversion/cmake" cc1f75a114aca8d2af69f73a5a959aecbab0e87a)
Expand Down Expand Up @@ -402,7 +402,7 @@ int main() {
fstat(fd, &s);
size_t len = s.st_size;
void *ptr = mmap(0, len, PROT_READ, MAP_FILE | MAP_SHARED, fd, 0);
munmap(ptr, len);
munmap(ptr, len);
}
" HAVE_MMAP)

Expand Down Expand Up @@ -534,7 +534,7 @@ set (PBRT_SOURCE

src/pbrt/cmd/pspec_gpu.cpp
)

if (MSVC)
set (PBRT_SOURCE ${PBRT_SOURCE} src/pbrt/visualstudio.natvis)
endif ()
Expand All @@ -561,7 +561,7 @@ set (PBRT_SOURCE_HEADERS
src/pbrt/scene.h
src/pbrt/shapes.h
src/pbrt/textures.h
)
)

SET (PBRT_CPU_SOURCE
src/pbrt/cpu/aggregates.cpp
Expand Down Expand Up @@ -919,7 +919,7 @@ target_link_libraries (rgb2spec_opt PRIVATE ${CMAKE_THREAD_LIBS_INIT} pbrt_opt p

if (NOT PBRT_USE_PREGENERATED_RGB_TO_SPECTRUM_TABLES)
add_custom_command (OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/rgbspectrum_aces.cpp
COMMAND rgb2spec_opt 64 ${CMAKE_CURRENT_BINARY_DIR}/rgbspectrum_aces.cpp ACES2065_1
COMMAND rgb2spec_opt 64 ${CMAKE_CURRENT_BINARY_DIR}/rgbspectrum_aces.cpp ACES2065_1
DEPENDS rgb2spec_opt)

add_custom_command (OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/rgbspectrum_dci_p3.cpp
Expand Down
2 changes: 1 addition & 1 deletion src/ext/openexr

0 comments on commit afcf826

Please sign in to comment.