mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 19:21:16 +02:00
Merge pull request #1289 from daleglass/fix-ninja-error
Fix "Ninja does not support toolset specification" on Windows
This commit is contained in:
commit
6401edd3ed
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