mirror of
https://github.com/vonhyou/ray-tracer-comp371.git
synced 2025-06-08 07:22:01 +00:00
seprate eigen3 config in cmake
This commit is contained in:
parent
2d18bab382
commit
62652955cb
1 changed files with 3 additions and 1 deletions
|
@ -26,10 +26,12 @@ set(CMAKE_BUILD_TYPE Debug)
|
|||
|
||||
set(CMAKE_CXX_STANDARD 14)
|
||||
|
||||
# Configure Eigen
|
||||
# Configure eigen3 for pipeline
|
||||
set(ENV{EIGEN3_ROOT} /usr/include/eigen3/Eigen)
|
||||
find_package(Eigen3 REQUIRED)
|
||||
include_directories(${EIGEN3_INCLUDE_DIR})
|
||||
|
||||
# Configure eigen3 for local machine
|
||||
include_directories(/usr/include/eigen3)
|
||||
|
||||
# These folders include some important header files including the header files for your own solution
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue