########### AGGREGATED COMPONENTS AND DEPENDENCIES FOR THE MULTI CONFIG #####################
#############################################################################################

list(APPEND libcurl_COMPONENT_NAMES CURL::libcurl)
list(REMOVE_DUPLICATES libcurl_COMPONENT_NAMES)
if(DEFINED libcurl_FIND_DEPENDENCY_NAMES)
  list(APPEND libcurl_FIND_DEPENDENCY_NAMES MbedTLS ZLIB)
  list(REMOVE_DUPLICATES libcurl_FIND_DEPENDENCY_NAMES)
else()
  set(libcurl_FIND_DEPENDENCY_NAMES MbedTLS ZLIB)
endif()
set(MbedTLS_FIND_MODE "NO_MODULE")
set(ZLIB_FIND_MODE "MODULE")

########### VARIABLES #######################################################################
#############################################################################################
set(libcurl_PACKAGE_FOLDER_DEBUG "${CMAKE_CURRENT_LIST_DIR}/../tdm_deploy/libcurl")
set(libcurl_BUILD_MODULES_PATHS_DEBUG )


set(libcurl_INCLUDE_DIRS_DEBUG "${libcurl_PACKAGE_FOLDER_DEBUG}/include/")
set(libcurl_RES_DIRS_DEBUG "${libcurl_PACKAGE_FOLDER_DEBUG}/res")
set(libcurl_DEFINITIONS_DEBUG "-DCURL_STATICLIB=1")
set(libcurl_SHARED_LINK_FLAGS_DEBUG )
set(libcurl_EXE_LINK_FLAGS_DEBUG )
set(libcurl_OBJECTS_DEBUG )
set(libcurl_COMPILE_DEFINITIONS_DEBUG "CURL_STATICLIB=1")
set(libcurl_COMPILE_OPTIONS_C_DEBUG )
set(libcurl_COMPILE_OPTIONS_CXX_DEBUG )
set(libcurl_LIB_DIRS_DEBUG "${libcurl_PACKAGE_FOLDER_DEBUG}/lib/linux64_rel/")
set(libcurl_BIN_DIRS_DEBUG )
set(libcurl_LIBRARY_TYPE_DEBUG STATIC)
set(libcurl_IS_HOST_WINDOWS_DEBUG 0)
set(libcurl_LIBS_DEBUG curl)
set(libcurl_SYSTEM_LIBS_DEBUG rt pthread)
set(libcurl_FRAMEWORK_DIRS_DEBUG )
set(libcurl_FRAMEWORKS_DEBUG )
set(libcurl_BUILD_DIRS_DEBUG )
set(libcurl_NO_SONAME_MODE_DEBUG FALSE)


# COMPOUND VARIABLES
set(libcurl_COMPILE_OPTIONS_DEBUG
    "$<$<COMPILE_LANGUAGE:CXX>:${libcurl_COMPILE_OPTIONS_CXX_DEBUG}>"
    "$<$<COMPILE_LANGUAGE:C>:${libcurl_COMPILE_OPTIONS_C_DEBUG}>")
set(libcurl_LINKER_FLAGS_DEBUG
    "$<$<STREQUAL:$<TARGET_PROPERTY:TYPE>,SHARED_LIBRARY>:${libcurl_SHARED_LINK_FLAGS_DEBUG}>"
    "$<$<STREQUAL:$<TARGET_PROPERTY:TYPE>,MODULE_LIBRARY>:${libcurl_SHARED_LINK_FLAGS_DEBUG}>"
    "$<$<STREQUAL:$<TARGET_PROPERTY:TYPE>,EXECUTABLE>:${libcurl_EXE_LINK_FLAGS_DEBUG}>")


set(libcurl_COMPONENTS_DEBUG CURL::libcurl)
########### COMPONENT CURL::libcurl VARIABLES ############################################

set(libcurl_CURL_libcurl_INCLUDE_DIRS_DEBUG "${libcurl_PACKAGE_FOLDER_DEBUG}/include/")
set(libcurl_CURL_libcurl_LIB_DIRS_DEBUG "${libcurl_PACKAGE_FOLDER_DEBUG}/lib/linux64_rel/")
set(libcurl_CURL_libcurl_BIN_DIRS_DEBUG )
set(libcurl_CURL_libcurl_LIBRARY_TYPE_DEBUG STATIC)
set(libcurl_CURL_libcurl_IS_HOST_WINDOWS_DEBUG 0)
set(libcurl_CURL_libcurl_RES_DIRS_DEBUG "${libcurl_PACKAGE_FOLDER_DEBUG}/res")
set(libcurl_CURL_libcurl_DEFINITIONS_DEBUG "-DCURL_STATICLIB=1")
set(libcurl_CURL_libcurl_OBJECTS_DEBUG )
set(libcurl_CURL_libcurl_COMPILE_DEFINITIONS_DEBUG "CURL_STATICLIB=1")
set(libcurl_CURL_libcurl_COMPILE_OPTIONS_C_DEBUG "")
set(libcurl_CURL_libcurl_COMPILE_OPTIONS_CXX_DEBUG "")
set(libcurl_CURL_libcurl_LIBS_DEBUG curl)
set(libcurl_CURL_libcurl_SYSTEM_LIBS_DEBUG rt pthread)
set(libcurl_CURL_libcurl_FRAMEWORK_DIRS_DEBUG )
set(libcurl_CURL_libcurl_FRAMEWORKS_DEBUG )
set(libcurl_CURL_libcurl_DEPENDENCIES_DEBUG MbedTLS::mbedtls ZLIB::ZLIB)
set(libcurl_CURL_libcurl_SHARED_LINK_FLAGS_DEBUG )
set(libcurl_CURL_libcurl_EXE_LINK_FLAGS_DEBUG )
set(libcurl_CURL_libcurl_NO_SONAME_MODE_DEBUG FALSE)

# COMPOUND VARIABLES
set(libcurl_CURL_libcurl_LINKER_FLAGS_DEBUG
        $<$<STREQUAL:$<TARGET_PROPERTY:TYPE>,SHARED_LIBRARY>:${libcurl_CURL_libcurl_SHARED_LINK_FLAGS_DEBUG}>
        $<$<STREQUAL:$<TARGET_PROPERTY:TYPE>,MODULE_LIBRARY>:${libcurl_CURL_libcurl_SHARED_LINK_FLAGS_DEBUG}>
        $<$<STREQUAL:$<TARGET_PROPERTY:TYPE>,EXECUTABLE>:${libcurl_CURL_libcurl_EXE_LINK_FLAGS_DEBUG}>
)
set(libcurl_CURL_libcurl_COMPILE_OPTIONS_DEBUG
    "$<$<COMPILE_LANGUAGE:CXX>:${libcurl_CURL_libcurl_COMPILE_OPTIONS_CXX_DEBUG}>"
    "$<$<COMPILE_LANGUAGE:C>:${libcurl_CURL_libcurl_COMPILE_OPTIONS_C_DEBUG}>")