LYN-4657 OSX: Building AutomatedTesting project fails (#1436)

* LYN-4657 OSX: Building AutomatedTesting project fails

* forgot this file
This commit is contained in:
Esteban Papp
2021-06-18 11:57:37 -07:00
committed by GitHub
parent e746260f04
commit c02345fd71
4 changed files with 3 additions and 4 deletions
@@ -1206,7 +1206,7 @@ namespace JsonSerializationTests
if (this->m_features.m_enableInitializationTest)
{
auto instance = this->m_description.CreateDefaultInstance();
typename TypeParam::Type compare;
typename TypeParam::Type compare = typename TypeParam::Type{};
if (!this->m_description.AreEqual(*instance, compare))
{
auto serializer = this->m_description.CreateSerializer();
@@ -55,6 +55,8 @@ ly_append_configurations_options(
-g # debug symbols
COMPILATION_RELEASE
-O2
LINK_NON_STATIC
-Wl,-undefined,error
)
include(cmake/Platform/Common/TargetIncludeSystemDirectories_supported.cmake)
@@ -21,8 +21,6 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
COMPILATION
-fPIC
-msse4.1
LINK_NON_STATIC
-Wl,--no-undefined
)
ly_set(CMAKE_CXX_EXTENSIONS OFF)
else()
@@ -20,7 +20,6 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang")
__APPLE__
DARWIN
LINK_NON_STATIC
-Wl,-undefined,error
-headerpad_max_install_names
-lpthread
-lncurses