diff options
| author | yangwei <[email protected]> | 2023-08-28 12:05:41 +0800 |
|---|---|---|
| committer | yangwei <[email protected]> | 2023-08-28 13:38:18 +0800 |
| commit | 00f89892e21ba76498e6725d86293e54c94d4151 (patch) | |
| tree | a884c2c7bfef751f9b65ec167655066bfdfd3cdf /CMakeLists.txt | |
| parent | 7d15f3b47470a1e297c30f9c1717d42c87f381ee (diff) | |
🔧 build(${SAPP_DEPEND_DYN_LIB}): 合并重复依赖项,统一使用变量链接
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 2be0cdf..c846a17 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,6 +11,7 @@ set(CMAKE_MACOSX_RPATH 0) set(CMAKE_EXPORT_COMPILECOMMANDS ON) set(CMAKE_C_STANDARD 99) +set(CMAKE_CXX_STANDARD 11) # see here: https://github.com/PointCloudLibrary/pcl/issues/3680 # when this is fixed, we can remove the following 3 lines. if(NOT DEFINED CMAKE_SUPPRESS_DEVELOPER_WARNINGS) @@ -196,7 +197,7 @@ endif() add_definitions(${CAPTURE_DEFINITIONS} ${MEM_POOL_DEFINITIONS} -D__FAVOR_BSD=1 -D__USE_BSD=1 -D_GNU_SOURCE=1 -DMESA_SAPP_PLATFORM=1) -set(SAPP_DEPEND_DYN_LIB MESA_handle_logger MESA_htable pthread MESA_field_stat2 fieldstat3 cjson MESA_jump_layer) +set(SAPP_DEPEND_DYN_LIB MESA_handle_logger MESA_prof_load MESA_htable pthread MESA_field_stat2 fieldstat3 cjson MESA_jump_layer breakpad_mini ${SYSTEMD_LIBRARIES} pthread dl pcap) file(MD5 ${PROJECT_SOURCE_DIR}/include/public/stream_inc/stream_base.h MD5_STREAM_BASE) |
