Fix CMake FetchContent usage

This commit is contained in:
Timo Suoranta 2021-03-11 13:20:56 +02:00
parent ace16e4778
commit 1771b1127f

View File

@ -47,7 +47,7 @@ add_library(glm INTERFACE)
include(GNUInstallDirs)
target_include_directories(glm INTERFACE
$<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}>
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}>
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
)