Skip to content

Commit e8f6fe4

Browse files
Do not default build types on windows. (aws#95)
* Do not default build types on windows.
1 parent 102015e commit e8f6fe4

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

CMakeLists.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,13 @@ if (NOT CMAKE_CXX_STANDARD)
2727
endif()
2828

2929
if (NOT CMAKE_BUILD_TYPE)
30-
set(CMAKE_BUILD_TYPE "RelWithDebInfo")
30+
# setting this breaks C++ builds in visualc++, so don't do it.
31+
if (NOT WIN32)
32+
set(CMAKE_BUILD_TYPE "RelWithDebInfo")
33+
endif()
3134
endif()
3235

33-
set(AWS_CRT_CPP_VERSION "v0.7.1")
36+
set(AWS_CRT_CPP_VERSION "v0.7.3")
3437

3538
configure_file(include/aws/crt/Config.h.in ${CMAKE_CURRENT_LIST_DIR}/include/aws/crt/Config.h @ONLY)
3639

0 commit comments

Comments
 (0)