Merge branch 'develop' into fix_logging_crash_with_recorder
This commit is contained in:
Коммит
71e4cfb4c4
|
@ -63,12 +63,18 @@ if ("${CMAKE_C_COMPILER_ID}" STREQUAL "MSVC")
|
|||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /ZH:SHA_256")
|
||||
endif()
|
||||
|
||||
# If using clang or GCC only linked shared libraries if needed
|
||||
# If using clang or GCC, only linked shared libraries if needed
|
||||
if ("${CMAKE_C_COMPILER_ID}" STREQUAL "GNU" OR "${CMAKE_C_COMPILER_ID}" STREQUAL "Clang")
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--as-needed")
|
||||
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--as-needed")
|
||||
endif()
|
||||
|
||||
# If using clang or GCC, be sure to include a build id
|
||||
if ("${CMAKE_C_COMPILER_ID}" STREQUAL "GNU" OR "${CMAKE_C_COMPILER_ID}" STREQUAL "Clang")
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--build-id")
|
||||
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--build-id")
|
||||
endif()
|
||||
|
||||
# Find all dependencies
|
||||
add_subdirectory(extern)
|
||||
|
||||
|
@ -274,4 +280,4 @@ cpack_add_component(
|
|||
"Tools for Azure Kinect Development"
|
||||
REQUIRED
|
||||
DEPENDS
|
||||
runtime)
|
||||
runtime)
|
||||
|
|
Загрузка…
Ссылка в новой задаче