mirror of
https://github.com/overte-org/overte.git
synced 2025-06-21 22:20:26 +02:00
Fix "Ninja does not support toolset specification" on Windows
This commit is contained in:
parent
45f2b672b5
commit
6314cd33ed
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ MESSAGE(STATUS "GLES_OPTION: ${GLES_OPTION}")
|
||||||
include("${CMAKE_CURRENT_SOURCE_DIR}/cmake/macros/TargetPython.cmake")
|
include("${CMAKE_CURRENT_SOURCE_DIR}/cmake/macros/TargetPython.cmake")
|
||||||
target_python()
|
target_python()
|
||||||
|
|
||||||
if (WIN32 AND NOT HIFI_ANDROID)
|
if (WIN32 AND NOT HIFI_ANDROID AND NOT (CMAKE_GENERATOR STREQUAL "Ninja"))
|
||||||
# Force x64 toolset
|
# Force x64 toolset
|
||||||
set(CMAKE_GENERATOR_TOOLSET "host=x64" CACHE STRING "64-bit toolset" FORCE)
|
set(CMAKE_GENERATOR_TOOLSET "host=x64" CACHE STRING "64-bit toolset" FORCE)
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in a new issue