diff options
| author | Ethan Smith <ethan@ethanhs.me> | 2017-03-27 02:36:12 -0400 |
|---|---|---|
| committer | Ethan Smith <ethan@ethanhs.me> | 2017-03-27 02:36:12 -0400 |
| commit | 7a703e7a985589993518f72830f96738175e4d53 (patch) | |
| tree | c67ae21ea3d2bf1afae7b95a28c049224eb4d497 | |
| parent | 0723e5268d37d4c9632c4b0fa99504216cfec38e (diff) | |
| download | vcpkg-7a703e7a985589993518f72830f96738175e4d53.tar.gz vcpkg-7a703e7a985589993518f72830f96738175e4d53.zip | |
remove unused options
| -rw-r--r-- | ports/pybind11/portfile.cmake | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/ports/pybind11/portfile.cmake b/ports/pybind11/portfile.cmake index 5dd99fddf..d899aa31e 100644 --- a/ports/pybind11/portfile.cmake +++ b/ports/pybind11/portfile.cmake @@ -16,24 +16,9 @@ else() set(CRUNTIME /MT) endif() -#STREQUAL empty here means the enviroment variable is not defined. -if(NOT $ENV{PYTHON} STREQUAL "") - set(PYTHON_VER $ENV{PYTHON}) -else() - message(FATAL_ERROR "You must set the PYTHON environment variable, eg. set PYTHON=3.5 or export PYTHON=3.5") -endif() - -if(NOT $ENV{CPP} STREQUAL "") - set(CPP_STD $ENV{CPP}) -else() - message(FATAL_ERROR "You must set the CPP environment variable, eg. set CPP=11 or export CPP=11.") -endif() -message(STATUS "Using C++${CPP_STD} and Python ${PYTHON_VER}") vcpkg_configure_cmake( SOURCE_PATH ${SOURCE_PATH} OPTIONS - -DPYBIND11_PYTHON_VERSION=${PYTHON_VER} - -DPYBIND11_CPP_STANDARD=${CPP_STD} ) vcpkg_install_cmake() |
