mirror of https://github.com/labapart/gattlib
don't mix C and CXX Flags in CMake
- otherwise clang will report error: invalid argument '-std=c++11' not allowed with 'C/ObjC'pull/21/head
parent
ecc627cb8a
commit
6d90fa4d48
|
@ -30,7 +30,7 @@ project(gattlib)
|
|||
find_package(PkgConfig REQUIRED)
|
||||
|
||||
# Show all the warnings
|
||||
set(CMAKE_C_FLAGS "${CMAKE_CXX_FLAGS} -Wall")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
|
||||
# Expose 'gattlib.h' to all sub-directories
|
||||
include_directories(include)
|
||||
|
||||
|
|
Loading…
Reference in New Issue