From 50c37a15321b0cf70104bf73d40fdf94ec0d6b71 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Tue, 9 Feb 2016 16:18:39 +0000 Subject: [PATCH] --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f9737b6a49..bb5ffff9ca 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1328,7 +1328,8 @@ endif(WALL AND NOT MSVC) # don't issue warnings for contributed libraries check_cxx_compiler_flag("-w" NOWARN) if(NOWARN) - file(GLOB_RECURSE NOWARN_SRC contrib/*.cpp contrib/*.cc contrib/*.cxx contrib/*.c) + file(GLOB_RECURSE NOWARN_SRC contrib/*.cpp contrib/*.cc contrib/*.cxx contrib/*.c + ${CMAKE_CURRENT_BINARY_DIR}/contrib/taucs/*.c) foreach(FILE ${NOWARN_SRC}) get_source_file_property(PROP ${FILE} COMPILE_FLAGS) if(PROP) -- GitLab