diff --git a/CMakeLists.txt b/CMakeLists.txt index c9313fd..fc0a33f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -85,16 +85,12 @@ add_library(date_interface INTERFACE) # an interface (not a library), to enable # add include folders to the INTERFACE and targets that consume it target_include_directories(date_interface INTERFACE - $ - $ + "$" + $ ) -install( TARGETS date_prj EXPORT DateConfig ) +install( TARGETS date_interface EXPORT DateConfig ) install( EXPORT DateConfig DESTINATION lib/cmake/date ) install( TARGETS tz DESTINATION lib ) install( DIRECTORY ${HEADER_FOLDER}/ DESTINATION include/ )