update build

This commit is contained in:
wt committed 2024-12-03 09:38:34 +07:00
1 parent 225d6886ef
commit 9aac08b64b
3 files changed
+19 -15

No files matched your search

-8
View File
@@ -1,16 +1,12 @@
cmake_minimum_required (VERSION 2.6)
project(auth_service)
set(CMAKE_CXX_STANDARD 17)
include_directories(./src/libs/ ./src)
add_executable(
auth_service
src/auth_service.cpp
src/auth/auth.cpp
src/auth/verify_auth.cpp
src/users/access_request.cpp
src/users/change_password.cpp
src/users/delete_user.cpp
@@ -18,12 +14,8 @@ add_executable(
src/users/get_all_users.cpp
src/users/get_user.cpp
src/users/change_user.cpp
src/security/cors.cpp
src/AuthService/AuthService.cpp
)
target_link_libraries(auth_service ssl crypto)
install(TARGETS auth_service DESTINATION bin)