# This file is part of the openHiTLS project.
#
# openHiTLS is licensed under the Mulan PSL v2.
# You can use this software according to the terms and conditions of the Mulan PSL v2.
# You may obtain a copy of Mulan PSL v2 at:
#
# http://license.coscl.org.cn/MulanPSL2
#
# THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
# EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
# MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
# See the Mulan PSL v2 for more details.
file(GLOB _privpass_token_sources ${CMAKE_CURRENT_SOURCE_DIR}/src/*.c)
add_library(_hitls_auth_privpass_token OBJECT ${_privpass_token_sources})
target_link_libraries(_hitls_auth_privpass_token
PUBLIC
_hitls_auth_common_include
)
target_include_directories(_hitls_auth_privpass_token
PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
PRIVATE
${CMAKE_CURRENT_SOURCE_DIR}/src
)
hitls_register_objects(AUTH _hitls_auth_privpass_token)