Merge pull request #1062 from tksuoran/fix-cmake
Fix CMake FetchContent usage #1062
This commit is contained in:
commit
761a842a59
@ -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}>
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user