Skip to content

Commit

Permalink
Mac uses embree3. Will use that for Linux too soon
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-alexandrov committed Dec 7, 2023
1 parent 8da0334 commit 7dbd803
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/asp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,13 @@ find_external_library(SPICE ${ASP_DEPS_DIR} "cspice" "cspice" REQUIRED)
find_external_library(GEOID ${ASP_DEPS_DIR} "" "egm2008" REQUIRED)
find_external_library(XERCESC ${ASP_DEPS_DIR} "" "xerces-c" REQUIRED)
find_external_library(PROTOBUF ${ASP_DEPS_DIR} "" "protobuf" REQUIRED)
find_external_library(EMBREE ${ASP_DEPS_DIR} "" "embree" REQUIRED)
# TODO(oalexan1): Must use embree3 on Linux as well
if (APPLE)
find_external_library(EMBREE ${ASP_DEPS_DIR} "" "embree3" REQUIRED)
else()
find_external_library(EMBREE ${ASP_DEPS_DIR} "" "embree" REQUIRED)
endif()

find_external_library(EIGEN ${ASP_DEPS_DIR} "eigen3" "" REQUIRED)
find_external_library(CERES ${ASP_DEPS_DIR} "ceres" "ceres" REQUIRED)
find_external_library(LIBNABO ${ASP_DEPS_DIR} "nabo" "nabo" REQUIRED)
Expand Down

0 comments on commit 7dbd803

Please sign in to comment.