Skip to content

Commit bcb619b

Browse files
committed
Update cmake
1 parent 8dddc65 commit bcb619b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

cmake/external/zlib.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ ExternalProject_Add(ZLIB
3535
GIT_SHALLOW 1
3636
CMAKE_ARGS
3737
-DCMAKE_C_COMPILER:FILEPATH=${CMAKE_C_COMPILER}
38+
-DCMAKE_OSX_ARCHITECTURES:STRING=${CMAKE_OSX_ARCHITECTURES}
3839
-DCMAKE_BUILD_TYPE:STRING=${CMAKE_BUILD_TYPE}
3940
-DCMAKE_INSTALL_PREFIX:PATH=${ZLIB_INSTALL}
4041
INSTALL_DIR ${ZLIB_INSTALL}

cmake/sanitizer_options.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ if(SANITIZER_ADDRESS)
3939
endif()
4040
endif()
4141

42-
# gcc needs LD_PRELOAD of libasan and ignore link order
42+
# gcc needs ignore link order
4343
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
4444
get_property(ALL_TESTS DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY TESTS)
4545
set_tests_properties(${ALL_TESTS} PROPERTIES ENVIRONMENT ASAN_OPTIONS=verify_asan_link_order=0)

0 commit comments

Comments
 (0)