diff --git a/CMakeLists.txt b/CMakeLists.txt index 12f0e46..d81ed81 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -68,10 +68,10 @@ add_library( date INTERFACE ) add_library( date::date ALIAS date ) target_include_directories( date INTERFACE $ - $ ) + $ ) # adding header sources just helps IDEs target_sources( date INTERFACE - $$/date/date.h + $$/date/date.h # the rest of these are not currently part of the public interface of the library: $ $ @@ -111,14 +111,14 @@ if( BUILD_TZ_LIB ) add_library( date-tz ) target_sources( date-tz PUBLIC - $$/date/tz.h + $$/date/tz.h PRIVATE include/date/tz_private.h src/tz.cpp ) if ( IOS ) target_sources( date-tz PUBLIC - $$/date/ios.h + $$/date/ios.h PRIVATE src/ios.mm ) endif() @@ -126,7 +126,7 @@ if( BUILD_TZ_LIB ) target_link_libraries( date-tz PUBLIC date ) target_include_directories( date-tz PUBLIC $ - $ ) + $ ) if ( USE_SYSTEM_TZ_DB OR MANUAL_TZ_DB ) target_compile_definitions( date-tz PRIVATE AUTO_DOWNLOAD=0 HAS_REMOTE_API=0 )