We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be41624 commit b0a8a5fCopy full SHA for b0a8a5f
2 files changed
CMakeLists.txt
@@ -10,6 +10,10 @@ if(DEFINED ENV{CONDA_PREFIX})
10
#TODO: Windows Conda environments are structured differently,
11
# how unfortunate is this?
12
list(APPEND CMAKE_PREFIX_PATH "$ENV{CONDA_PREFIX}/Library")
13
+ # Specify where not to look !!! Needed to make sure it uses
14
+ # Boost from conda and not from system.
15
+ set(Boost_NO_SYSTEM_PATHS ON)
16
+ set(BOOST_ROOT $ENV{CONDA_PREFIX})
17
endif()
18
19
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
conda/environment.yml
@@ -8,6 +8,7 @@ dependencies:
8
- cmake
9
- boost
- matplotlib-base
+ - compilers
- pip
- pip:
- -e '..[test,dev,doc]'
0 commit comments