mirror of
https://github.com/overte-org/overte.git
synced 2025-04-13 11:22:10 +02:00
remove FIND_NSIGHT_CALLED variable
This commit is contained in:
parent
7892808b28
commit
c9c536ff00
1 changed files with 2 additions and 3 deletions
|
@ -6,11 +6,10 @@
|
||||||
# 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 AND NOT NSIGHT_FIND_CALLED)
|
if (WIN32 AND USE_NSIGHT)
|
||||||
# try to find the Nsight package and add it to the build if we find it
|
# try to find the Nsight package and add it to the build if we find it
|
||||||
find_package(NSIGHT)
|
find_package(NSIGHT)
|
||||||
set(NSIGHT_FIND_CALLED TRUE)
|
|
||||||
|
|
||||||
if (NSIGHT_FOUND)
|
if (NSIGHT_FOUND)
|
||||||
include_directories(${NSIGHT_INCLUDE_DIRS})
|
include_directories(${NSIGHT_INCLUDE_DIRS})
|
||||||
add_definitions(-DNSIGHT_FOUND)
|
add_definitions(-DNSIGHT_FOUND)
|
||||||
|
|
Loading…
Reference in a new issue