1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-08 14:02:17 +03:00

Travis fixes for windows

This commit is contained in:
Georg Richter
2024-07-17 11:06:52 +02:00
parent 1287c901dc
commit ea307b8d6e
3 changed files with 17 additions and 11 deletions

View File

@@ -19,7 +19,14 @@ ENDIF()
ENABLE_TESTING()
find_package (Python3 COMPONENTS Interpreter)
IF(WIN32 AND DEFINED ENV{TRAVIS})
SET(Python3_EXECUTABLE c:/python312/python.exe)
SET(Python3_FOUND TRUE)
ELSE()
# Always use highest version number
set(Python3_FIND_STRATEGY VERSION)
find_package (Python3 COMPONENTS Interpreter)
ENDIF()
INCLUDE_DIRECTORIES(${CC_SOURCE_DIR}/include
${CC_BINARY_DIR}/include