diff --git a/src/aws-cpp-sdk-core/CMakeLists.txt b/src/aws-cpp-sdk-core/CMakeLists.txt index 36a3c3c4df5..f2176bcd156 100644 --- a/src/aws-cpp-sdk-core/CMakeLists.txt +++ b/src/aws-cpp-sdk-core/CMakeLists.txt @@ -20,7 +20,8 @@ if(VERSION_STRING) set(AWSSDK_VERSION_PATCH ${AWSSDK_VERSION_PATCH}) configure_file( "${CMAKE_CURRENT_SOURCE_DIR}/include/aws/core/VersionConfig.h.in" - "${CMAKE_CURRENT_SOURCE_DIR}/include/aws/core/VersionConfig.h") + "${CMAKE_CURRENT_SOURCE_DIR}/include/aws/core/VersionConfig.h" + NEWLINE_STYLE UNIX) else() message("Not able to compute versioning string, not updating.") endif() @@ -37,7 +38,8 @@ else() endif() configure_file("${CMAKE_CURRENT_SOURCE_DIR}/include/aws/core/SDKConfig.h.in" - "${CMAKE_CURRENT_SOURCE_DIR}/include/aws/core/SDKConfig.h") + "${CMAKE_CURRENT_SOURCE_DIR}/include/aws/core/SDKConfig.h" + NEWLINE_STYLE UNIX) file(GLOB AWS_HEADERS "include/aws/core/*.h") file(GLOB AWS_AUTH_HEADERS "include/aws/core/auth/*.h") diff --git a/src/aws-cpp-sdk-core/include/CMakeLists.txt b/src/aws-cpp-sdk-core/include/CMakeLists.txt index 8ebc3f9bbc3..b1032786259 100644 --- a/src/aws-cpp-sdk-core/include/CMakeLists.txt +++ b/src/aws-cpp-sdk-core/include/CMakeLists.txt @@ -2,12 +2,12 @@ configure_file( VersionConfig.h.in aws/core/VersionConfig.h - @ONLY + @ONLY NEWLINE_STYLE UNIX ) message(STATUS "Generating source file SDKConfig.h for setting memory management options") configure_file( SDKConfig.h.in aws/core/SDKConfig.h - @ONLY + @ONLY NEWLINE_STYLE UNIX ) \ No newline at end of file