Browse Source
fix yocto cross build error: 'string.h ' not found (#487)
Co-authored-by: uib51588 <fei.4.xu@continental.com>
pull/488/head
fei4xu
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
CMakeLists.txt
|
@ -65,7 +65,7 @@ endif(NOT DEFINED CMAKE_BUILD_TYPE) |
|
|
|
|
|
|
|
|
if (DEFINED UNIX) |
|
|
if (DEFINED UNIX) |
|
|
# None |
|
|
# None |
|
|
set(CMAKE_C_FLAGS "-Wall -Wshadow -Wpointer-arith -Wmissing-declarations -Wnested-externs") |
|
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wshadow -Wpointer-arith -Wmissing-declarations -Wnested-externs") |
|
|
set(CMAKE_CXX_FLAGS "-Wall -Wshadow -Wpointer-arith -Wmissing-declarations -Wnested-externs") |
|
|
set(CMAKE_CXX_FLAGS "-Wall -Wshadow -Wpointer-arith -Wmissing-declarations -Wnested-externs") |
|
|
# Debug |
|
|
# Debug |
|
|
set(CMAKE_C_FLAGS_DEBUG "-g") |
|
|
set(CMAKE_C_FLAGS_DEBUG "-g") |
|
|