19 lines
261 B
CMake
19 lines
261 B
CMake
cmake_minimum_required (VERSION 3.13)
|
|
project (embree_sample)
|
|
|
|
set(SOURCES embree_sample.cpp)
|
|
|
|
FIND_PACKAGE(embree 4.3)
|
|
|
|
if(embree_FOUND)
|
|
add_executable(embree_sample ${SOURCES})
|
|
|
|
target_link_libraries(
|
|
embree_sample
|
|
PUBLIC
|
|
embree
|
|
vcglib)
|
|
endif()
|
|
|
|
|