Skip to content

Commit

Permalink
chore(deps): bump viennacore
Browse files Browse the repository at this point in the history
  • Loading branch information
Curve committed Jul 16, 2024
1 parent 4fdd33f commit a78d181
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 38 deletions.
9 changes: 1 addition & 8 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,6 @@ if(VIENNARAY_EMBREE_VERSION GREATER_EQUAL 4)
set(EMBREE_RAY_MASK ON)
endif()

# --------------------------------------------------------------------------------------------------------
# Configuration
# --------------------------------------------------------------------------------------------------------

include("cmake/embree.cmake")
include("cmake/tbb.cmake")

# --------------------------------------------------------------------------------------------------------
# Setup Library
# --------------------------------------------------------------------------------------------------------
Expand Down Expand Up @@ -98,7 +91,7 @@ include("cmake/cpm.cmake")

CPMAddPackage(
NAME ViennaCore
GIT_TAG v1.0.0
VERSION 1.1.0
GIT_REPOSITORY "https://github.com/ViennaTools/ViennaCore"
OPTIONS "VIENNACORE_FORMAT_EXCLUDE docs/")

Expand Down
13 changes: 0 additions & 13 deletions cmake/embree.cmake

This file was deleted.

13 changes: 0 additions & 13 deletions cmake/tbb.cmake

This file was deleted.

4 changes: 2 additions & 2 deletions examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ add_custom_target(ViennaRay_Examples ALL)

if(WIN32 AND NOT VIENNARAY_DISABLE_COPY)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY $<1:${PROJECT_BINARY_DIR}/examples>)
setup_embree_env(ViennaRay_Examples ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})
setup_tbb_env(ViennaRay_Examples ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})
viennacore_setup_embree_env(ViennaRay_Examples ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})
viennacore_setup_tbb_env(ViennaRay_Examples ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})
endif()

viennacore_add_subdirs(${CMAKE_CURRENT_LIST_DIR})
4 changes: 2 additions & 2 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ add_custom_target(ViennaRay_Tests ALL)

if(WIN32)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY $<1:${PROJECT_BINARY_DIR}/tests>)
setup_embree_env(ViennaRay_Tests ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})
setup_tbb_env(ViennaRay_Tests ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})
viennacore_setup_embree_env(ViennaRay_Tests ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})
viennacore_setup_tbb_env(ViennaRay_Tests ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})
endif()

viennacore_add_subdirs(${CMAKE_CURRENT_LIST_DIR})

0 comments on commit a78d181

Please sign in to comment.