mirror of
https://github.com/microsoft/GSL.git
synced 2025-02-17 23:33:49 -05:00
Do not install .natvis files.
This fixes an issue where CMake complains about INTERFACE_SOURCES containing a path which is prefixed in source directory on windows.
This commit is contained in:
parent
0a31a14d09
commit
9e1645b990
@ -69,7 +69,7 @@ if ((CMAKE_VERSION GREATER 3.7.9) OR (CMAKE_VERSION EQUAL 3.7.9))
|
||||
# add natvis file to the library so it will automatically be loaded into Visual Studio
|
||||
if(VS_ADD_NATIVE_VISUALIZERS)
|
||||
target_sources(GSL INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/GSL.natvis
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/GSL.natvis>
|
||||
)
|
||||
endif()
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user