X-Git-Url: https://git.rvb.name/rtl-433.git/blobdiff_plain/ca13278b24eb61443559bcb61e64627fba3d8823..6d15c6f967221af825cf84e3ed12b96c763b127b:/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index a5542e1..6376b88 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -35,6 +35,7 @@ if(CMAKE_COMPILER_IS_GNUCC AND NOT WIN32) ADD_DEFINITIONS(-Wno-unused) ADD_DEFINITIONS(-Wsign-compare) ADD_DEFINITIONS(-g3 -O0) + ADD_DEFINITIONS(-std=gnu99) #http://gcc.gnu.org/wiki/Visibility add_definitions(-fvisibility=hidden) endif() @@ -70,6 +71,7 @@ add_custom_target(uninstall ######################################################################## add_subdirectory(include) add_subdirectory(src) +add_subdirectory(tests) # use space-separation format for the pc file STRING(REPLACE ";" " " RTL433_PC_CFLAGS "${RTL433_PC_CFLAGS}")