mirror of
https://github.com/HowardHinnant/date.git
synced 2024-12-27 08:31:03 +08:00
Export a CMake config file
This will allow users to import the project via CMake methods, i.e `find_package` rather than doing it manually.
This commit is contained in:
parent
3b8372f4fa
commit
3e5a57467a
@ -94,6 +94,8 @@ target_include_directories(date_interface INTERFACE
|
||||
)
|
||||
|
||||
|
||||
install( TARGETS date_prj EXPORT DateConfig )
|
||||
install( EXPORT DateConfig DESTINATION lib/cmake/date )
|
||||
install( TARGETS tz DESTINATION lib )
|
||||
install( DIRECTORY ${HEADER_FOLDER}/ DESTINATION include/ )
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user