Fix for Windows: CMake complains about INTERFACE_SOURCES directory

This commit is contained in:
Stefan Reinhold 2018-07-17 11:09:58 +02:00
parent d452c3b061
commit 030454e3e9

View File

@ -58,7 +58,9 @@ target_include_directories(GSL INTERFACE
$<BUILD_INTERFACE: $<BUILD_INTERFACE:
${CMAKE_CURRENT_SOURCE_DIR}/include ${CMAKE_CURRENT_SOURCE_DIR}/include
> >
$<INSTALL_INTERFACE:include> $<INSTALL_INTERFACE:
include
>
) )
if ((CMAKE_VERSION GREATER 3.7.9) OR (CMAKE_VERSION EQUAL 3.7.9)) if ((CMAKE_VERSION GREATER 3.7.9) OR (CMAKE_VERSION EQUAL 3.7.9))