X-Git-Url: https://git.rvb.name/rtl-433.git/blobdiff_plain/337eb4ba945097205fbb6a3ca7912fb0697092d1..refs/heads/master:/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}")