Skip to content

Commit

Permalink
Update ispc binary path on Windows, update civetweb to v1.16 (#6577)
Browse files Browse the repository at this point in the history
  • Loading branch information
AhmedZero authored Apr 16, 2024
1 parent 172367e commit 1562468
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions 3rdparty/civetweb/civetweb.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ include(ExternalProject)
ExternalProject_Add(
ext_civetweb
PREFIX civetweb
URL https://github.com/civetweb/civetweb/archive/refs/tags/v1.15.tar.gz
URL_HASH SHA256=90a533422944ab327a4fbb9969f0845d0dba05354f9cacce3a5005fa59f593b9
URL https://github.com/civetweb/civetweb/archive/refs/tags/v1.16.tar.gz
URL_HASH SHA256=f0e471c1bf4e7804a6cfb41ea9d13e7d623b2bcc7bc1e2a4dd54951a24d60285
DOWNLOAD_DIR "${OPEN3D_THIRD_PARTY_DOWNLOAD_DIR}/civetweb"
UPDATE_COMMAND ""
CMAKE_ARGS
Expand Down
6 changes: 5 additions & 1 deletion cmake/Open3DFetchISPCCompiler.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,11 @@ function(open3d_fetch_ispc_compiler)
)

FetchContent_MakeAvailable(ext_ispc)
if (WIN32)
set(CMAKE_ISPC_COMPILER "${ext_ispc_SOURCE_DIR}/bin/ispc.exe" PARENT_SCOPE)
else() # Linux
set(CMAKE_ISPC_COMPILER "${ext_ispc_SOURCE_DIR}/bin/ispc" PARENT_SCOPE)
endif()

set(CMAKE_ISPC_COMPILER "${ext_ispc_SOURCE_DIR}/bin/ispc" PARENT_SCOPE)
endif()
endfunction()

0 comments on commit 1562468

Please sign in to comment.