Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
gagelarsen authored Sep 18, 2018
1 parent bb4fb70 commit 68c1118
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ if(IS_PYTHON_BUILD)
# for building python packages that target other versions of python.
find_package(PythonLibs ${PYTHON_TARGET_VERSION} EXACT REQUIRED)
# Pybind11 module
find_package(pybind11 REQUIRED)
if(IS_CONDA_BUILD)
include("${CONDA_PREFIX}/share/cmake/pybind11/pybind11Targets.cmake")
include("${CONDA_PREFIX}/share/cmake/pybind11/FindPythonLibsNew.cmake")
Expand All @@ -71,6 +70,7 @@ if(IS_PYTHON_BUILD)
include("${CONAN_PYBIND11_ROOT}/share/cmake/pybind11/pybind11Tools.cmake")
endif()

# Have to add this after conda because it doesn't get the path for pybind if we don't.
list(APPEND EXT_INCLUDE_DIRS
${PYTHON_INCLUDE_DIRS}
)
Expand Down

0 comments on commit 68c1118

Please sign in to comment.