Merge pull request #1062 from tksuoran/fix-cmake

Fix CMake FetchContent usage #1062
This commit is contained in:
Christophe 2021-04-05 13:27:48 +02:00 committed by GitHub
commit 761a842a59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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}>
)