This commit is contained in:
Robert Campion 2020-01-16 18:16:58 -05:00 committed by Howard Hinnant
parent fe63f0bb5f
commit c8d311f6f1

View File

@ -123,7 +123,8 @@ if( BUILD_TZ_LIB )
endif( )
if( NOT USE_SYSTEM_TZ_DB AND NOT MANUAL_TZ_DB )
find_package( CURL REQUIRED )
target_link_libraries( tz PRIVATE CURL::libcurl )
target_include_directories( tz SYSTEM PRIVATE ${CURL_INCLUDE_DIRS} )
target_link_libraries( tz PRIVATE ${CURL_LIBRARIES} )
endif( )
endif( )