Skip to content

Commit 9f5fe0e

Browse files
sbisciglsdavtaker
authored andcommitted
fixes build all target (#1930)
1 parent f6af1f6 commit 9f5fe0e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmake_legacy/sdks.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ else()
5555
set(REMOVE_SDK 0)
5656

5757
if(SDK STREQUAL "core")
58-
set(SDK_DIR "aws-cpp-sdk-${SDK}")
58+
set(SDK_DIR "src/aws-cpp-sdk-${SDK}")
5959
else()
6060
set(SDK_DIR "generated/aws-cpp-sdk-${SDK}")
6161
endif()

cmake_legacy/sdksCommon.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ endfunction()
7272
# services have the name format abc.def.ghi will be renamed to ghi-def-abc (dot will not be accepted as Windows directory name )
7373
# and put into C2J_SPECIAL_NAME_LIST, but rumtime.lex will be renamed to lex based on historical reason.
7474
function(build_sdk_list)
75-
file(GLOB ALL_MODEL_FILES "${CMAKE_CURRENT_SOURCE_DIR}/code-generation/api-descriptions/*-[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9].normal.json")
75+
file(GLOB ALL_MODEL_FILES "${CMAKE_CURRENT_SOURCE_DIR}/tools/code-generation/api-descriptions/*-[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9].normal.json")
7676
foreach(model IN LISTS ALL_MODEL_FILES)
7777
get_filename_component(modelName "${model}" NAME)
7878
STRING(REGEX MATCH "([0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9])" date "${modelName}")

0 commit comments

Comments
 (0)