Skip to content

Commit c539c65

Browse files
committed
Fix the wheels building on Windows, bump the version number
1 parent 8aa41cf commit c539c65

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.12)
33
# Project + versions
44
#-----------------------------------------------------------------------------------------------------------------------
55

6-
project(ViZDoom VERSION 1.2.1)
6+
project(ViZDoom VERSION 1.2.2)
77
set(ViZDoom_VERSION_STR ${ViZDoom_VERSION_MAJOR}.${ViZDoom_VERSION_MINOR}.${ViZDoom_VERSION_PATCH})
88
set(ViZDoom_VERSION_ID ${ViZDoom_VERSION_MAJOR}${ViZDoom_VERSION_MINOR}${ViZDoom_VERSION_PATCH})
99

src/lib_python/CMakeLists.txt

+3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ if("${BUILD_PYTHON_VERSION}" STREQUAL "")
88
endif()
99

1010
set(PYBIND11_PYTHON_VERSION ${BUILD_PYTHON_VERSION})
11+
if(WIN32)
12+
set(PYBIND11_FINDPYTHON True)
13+
endif()
1114

1215
set(VIZDOOM_PYTHON_OUTPUT_DIR ${VIZDOOM_OUTPUT_DIR}/python${BUILD_PYTHON_VERSION})
1316
set(VIZDOOM_PYTHON_SRC_DIR ${VIZDOOM_SRC_DIR}/lib_python)

0 commit comments

Comments
 (0)