mirror of
https://github.com/HowardHinnant/date.git
synced 2025-08-01 11:44:26 +02: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:
committed by
Howard Hinnant
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/ )
|
||||
|
||||
|
Reference in New Issue
Block a user