mirror of
https://github.com/g-truc/glm.git
synced 2024-11-26 18:24:35 +00:00
Added pkg-config file
This commit is contained in:
parent
19186b27ed
commit
0e018a5262
@ -218,4 +218,17 @@ if (NOT CMAKE_VERSION VERSION_LESS "3.0")
|
|||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
# build pkg-config file
|
||||||
|
configure_file(
|
||||||
|
"glm.pc.in"
|
||||||
|
"glm.pc"
|
||||||
|
@ONLY
|
||||||
|
)
|
||||||
|
|
||||||
|
# install pkg-config file
|
||||||
|
install(
|
||||||
|
FILES "${CMAKE_CURRENT_BINARY_DIR}/glm.pc"
|
||||||
|
DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig"
|
||||||
|
)
|
||||||
|
|
||||||
export(PACKAGE glm)
|
export(PACKAGE glm)
|
||||||
|
Loading…
Reference in New Issue
Block a user