mirror of
https://github.com/vonhyou/ray-tracer-comp371.git
synced 2025-06-08 07:22:01 +00:00
update cmakelist
This commit is contained in:
parent
97aacc1861
commit
4aa6f4712e
1 changed files with 1 additions and 10 deletions
|
@ -31,16 +31,7 @@ set(CMAKE_PREFIX_PATH
|
|||
/opt/local # Macports
|
||||
)
|
||||
|
||||
# ENCS Eigen3 CMake setup
|
||||
if (WIN32)
|
||||
include_directories(C:/Users/ambec/Desktop/labs/COMP371_all/COMP371_RaytracerBase/code/eigen-3.4.0/)# for windows you can directly hardcode the paths to your libraries in the include
|
||||
else()
|
||||
set(ENV{EIGEN3_ROOT} /usr/include/eigen3/Eigen)
|
||||
# set(CMAKE_MODULE_PATH /encs/pkg/eigen-3.3.7/root/cmake)
|
||||
|
||||
find_package(Eigen3 REQUIRED)
|
||||
include_directories(${EIGEN3_INCLUDE_DIR})
|
||||
endif()
|
||||
include_directories(/usr/include/eigen3)
|
||||
# If you need too manually add the paths to your Eigen library, you can add it here
|
||||
# do not delete the other
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue