diff --git a/CMakeLists.txt b/CMakeLists.txt index 4b46f58b..588697ee 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -139,6 +139,9 @@ endif() if(DEFINED ENV{CONDA_PREFIX}) message(STATUS "Adding conda include directories.") include_directories($ENV{CONDA_PREFIX}/include) + set(CMAKE_PREFIX_PATH "$ENV{CONDA_PREFIX}") + set(CMAKE_LIBRARY_PATH "$ENV{CONDA_PREFIX}/lib") + set(CMAKE_INCLUDE_PATH "$ENV{CONDA_PREFIX}/include") endif()