Skip to content
Merged
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
23 changes: 0 additions & 23 deletions .github/workflows/conda-package-build.yml

This file was deleted.

16 changes: 5 additions & 11 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ if(NOT OpenMP_CXX_FOUND)
message(WARNING "failed to find OpenMP")
endif()

# apple newer C++ features with old SDK
if(APPLE)
set(CMAKE_CXX_FLAGS "${CXXFLAGS} -D_LIBCPP_DISABLE_AVAILABILITY")
endif()

# Embree4
find_package(embree 4.0 REQUIRED)
if (${embree_FOUND})
Expand All @@ -24,17 +29,6 @@ else()
message(FATAL_ERROR "Could not find Embree")
endif()

# OpenMP
if(APPLE)
set(CMAKE_CXX_COMPILER clang++)
set(CMAKE_CXX_FLAGS "${CXXFLAGS} -D_LIBCPP_DISABLE_AVAILABILITY")

if(CMAKE_CXX_COMPILER_ID MATCHES "Clang\$")
set(OpenMP_CXX_FLAGS "-Xpreprocessor -fopenmp")
set(OpenMP_CXX_LIB_NAMES "omp")
set(OpenMP_omp_LIBRARY omp)
endif()
endif()

# externals
add_subdirectory("externals")
Expand Down
Loading