Skip to content

Commit

Permalink
Fixed cmake config template. (#53)
Browse files Browse the repository at this point in the history
* Fixed cmake config template.

* uniitialized lock.
  • Loading branch information
JonathanHenson committed Jan 24, 2020
1 parent 8281ad6 commit a3bd1ec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/aws-c-auth-config.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ find_dependency(aws-c-io)
find_dependency(aws-c-http)

if (BUILD_SHARED_LIBS)
include(${CMAKE_CURRENT_LIST_DIR}/shared/@CMAKE_PROJECT_NAME@-targets.cmake)
include(${CMAKE_CURRENT_LIST_DIR}/shared/@PROJECT_NAME@-targets.cmake)
else()
include(${CMAKE_CURRENT_LIST_DIR}/static/@CMAKE_PROJECT_NAME@-targets.cmake)
include(${CMAKE_CURRENT_LIST_DIR}/static/@PROJECT_NAME@-targets.cmake)
endif()

2 changes: 2 additions & 0 deletions tests/credentials_tests.c
Original file line number Diff line number Diff line change
Expand Up @@ -988,6 +988,7 @@ static int s_credentials_provider_default_basic_test(struct aws_allocator *alloc

aws_http_library_init(allocator);

s_aws_credentials_shutdown_checker_init();
/*
* Do a basic environment provider test, but use the default provider chain
*/
Expand Down Expand Up @@ -1025,6 +1026,7 @@ static int s_credentials_provider_default_basic_test(struct aws_allocator *alloc

aws_credentials_provider_release(provider);

s_aws_credentials_shutdown_checker_clean_up();
aws_http_library_clean_up();

return 0;
Expand Down

0 comments on commit a3bd1ec

Please sign in to comment.