mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-10 00:36:34 +02:00
Replace USE_NSIGHT with OVERTE_USE_NSIGHT.
This commit is contained in:
parent
a3fa85756e
commit
97978d4a4a
2 changed files with 4 additions and 3 deletions
|
@ -289,7 +289,7 @@ set(EXTERNAL_PROJECT_PREFIX "project")
|
||||||
set_property(DIRECTORY PROPERTY EP_PREFIX ${EXTERNAL_PROJECT_PREFIX})
|
set_property(DIRECTORY PROPERTY EP_PREFIX ${EXTERNAL_PROJECT_PREFIX})
|
||||||
setup_externals_binary_dir()
|
setup_externals_binary_dir()
|
||||||
|
|
||||||
option(USE_NSIGHT "Attempt to find the nSight libraries" 1)
|
set(OVERTE_USE_NSIGHT ON CACHE BOOL "Attempt to find the Nvidia nSight libraries.")
|
||||||
|
|
||||||
# FIXME hack to work on the proper Android toolchain
|
# FIXME hack to work on the proper Android toolchain
|
||||||
if (ANDROID)
|
if (ANDROID)
|
||||||
|
|
|
@ -1,13 +1,14 @@
|
||||||
#
|
#
|
||||||
# Copyright 2015 High Fidelity, Inc.
|
# Copyright 2015 High Fidelity, Inc.
|
||||||
|
# Copyright 2025 Overte e.V.
|
||||||
# Created by Bradley Austin Davis on 2015/10/10
|
# Created by Bradley Austin Davis on 2015/10/10
|
||||||
#
|
#
|
||||||
# Distributed under the Apache License, Version 2.0.
|
# Distributed under the Apache License, Version 2.0.
|
||||||
# See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
# See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||||
#
|
#
|
||||||
macro(TARGET_NSIGHT)
|
macro(TARGET_NSIGHT)
|
||||||
if (WIN32 AND USE_NSIGHT)
|
if (WIN32 AND OVERTE_USE_NSIGHT)
|
||||||
|
|
||||||
# grab the global CHECKED_FOR_NSIGHT_ONCE property
|
# grab the global CHECKED_FOR_NSIGHT_ONCE property
|
||||||
get_property(NSIGHT_UNAVAILABLE GLOBAL PROPERTY CHECKED_FOR_NSIGHT_ONCE)
|
get_property(NSIGHT_UNAVAILABLE GLOBAL PROPERTY CHECKED_FOR_NSIGHT_ONCE)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue