File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ install:
2525# - conda config --add channels omnia
2626# - conda config --add channels conda-forge # hightest priority
2727script :
28+ - pyenv global 3.6
2829 - mkdir build && cd build
29- - cmake -DPYTHON_WORKAROUND=ON ..
30+ - cmake ..
3031 - make .
Original file line number Diff line number Diff line change 11cmake_minimum_required (VERSION 3.0.2 )
22
3- option (PYTHON_WORKAROUND "Workaround for environments with multiple python versions" OFF )
4-
5- # Problem building in Travis-CI tried fix:
6- # https://github.com/pybind/pybind11/issues/236
7- # This is really a bad fix, as the Python headers
8- # won't be found in most build environments.
9- # See also: https://github.com/Fluorescence-Tools/LabelLib/issues/5
10- if (PYTHON_WORKAROUND)
11- set (PYTHONLIBS_FOUND TRUE )
12- set (PYTHON_MODULE_EXTENSION .so)
13- set (PYTHON_MODULE_PREFIX "" )
14- endif (PYTHON_WORKAROUND )
15-
163set (CMAKE_CXX_STANDARD 11)
174if (MSVC )
185 set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS } /std:c++11" )
You can’t perform that action at this time.
0 commit comments