mirror of
https://github.com/overte-org/overte.git
synced 2025-04-14 07:27:04 +02:00
cleanup TargetNsight, remove extra debug
This commit is contained in:
parent
8dc074c0a3
commit
7892808b28
1 changed files with 14 additions and 14 deletions
|
@ -1,20 +1,20 @@
|
||||||
#
|
#
|
||||||
# Copyright 2015 High Fidelity, Inc.
|
# Copyright 2015 High Fidelity, Inc.
|
||||||
# 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)
|
if (WIN32 AND USE_NSIGHT AND NOT NSIGHT_FIND_CALLED)
|
||||||
if (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)
|
|
||||||
include_directories(${NSIGHT_INCLUDE_DIRS})
|
if (NSIGHT_FOUND)
|
||||||
add_definitions(-DNSIGHT_FOUND)
|
include_directories(${NSIGHT_INCLUDE_DIRS})
|
||||||
target_link_libraries(${TARGET_NAME} "${NSIGHT_LIBRARIES}")
|
add_definitions(-DNSIGHT_FOUND)
|
||||||
endif ()
|
target_link_libraries(${TARGET_NAME} "${NSIGHT_LIBRARIES}")
|
||||||
endif()
|
endif ()
|
||||||
endif (WIN32)
|
endif ()
|
||||||
endmacro()
|
endmacro()
|
||||||
|
|
Loading…
Reference in a new issue