mirror of
https://github.com/gwm17/catima.git
synced 2024-11-26 20:18:51 -05:00
Update CMakeLists.txt
This commit is contained in:
parent
e3753f6443
commit
a75c42ac22
|
@ -103,8 +103,12 @@ if(PYTHON_MODULE)
|
||||||
if(NOT PYTHONINTERP_FOUND)
|
if(NOT PYTHONINTERP_FOUND)
|
||||||
MESSAGE(SEND_ERROR "Python is required to build nurex python modules")
|
MESSAGE(SEND_ERROR "Python is required to build nurex python modules")
|
||||||
endif(NOT PYTHONINTERP_FOUND)
|
endif(NOT PYTHONINTERP_FOUND)
|
||||||
find_package(pybind11 REQUIRED)
|
find_package(pybind11 QUIET)
|
||||||
set(PYBIND11_CPP_STANDARD -std=c++14)
|
if(NOT pybind11_FOUND)
|
||||||
|
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/extern/pybind11)
|
||||||
|
endif(NOT pybind11_FOUND)
|
||||||
|
|
||||||
|
#set(PYBIND11_CPP_STANDARD -std=c++14)
|
||||||
pybind11_add_module(pycatima pymodule/pycatima)
|
pybind11_add_module(pycatima pymodule/pycatima)
|
||||||
target_include_directories(pycatima PUBLIC
|
target_include_directories(pycatima PUBLIC
|
||||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}/include>
|
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}/include>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user