LYN-4657 OSX: Building AutomatedTesting project fails (#1436)
* LYN-4657 OSX: Building AutomatedTesting project fails * forgot this file
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user