Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
irp
Fresnel
Commits
97106f80
Commit
97106f80
authored
Feb 09, 2021
by
Leon Merten Lohse
Browse files
improve cmake file
parent
89e72c21
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
97106f80
cmake_minimum_required
(
VERSION 3.1
1
)
cmake_minimum_required
(
VERSION 3.1
5
)
project
(
fresnel VERSION 0.1
)
set
(
CMAKE_CXX_STANDARD 14
)
set
(
CMAKE_CXX_STANDARD_REQUIRED ON
)
set
(
default_build_type
"Release"
)
set
(
PYBIND11_PYTHON_VERSION 3.8
)
#
set(PYBIND11_PYTHON_VERSION 3.8)
add_subdirectory
(
extern/pybind11
)
find_package
(
Python COMPONENTS Interpreter Development
)
#add_subdirectory (extern/pybind11)
find_package
(
pybind11 CONFIG
)
find_package
(
Eigen3 3.3 REQUIRED NO_MODULE
)
find_package
(
OpenMP
)
find_package
(
OpenMP
)
pybind11_add_module
(
_solver source/python.cpp
)
target_link_libraries
(
_solver PRIVATE Eigen3::Eigen
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment