diff --git a/CMakeLists.txt b/CMakeLists.txt index d476e42..f30c473 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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( )