Skip to content
Snippets Groups Projects
Commit 7a22c142 authored by Eric Cano's avatar Eric Cano
Browse files

Added compilation option needed for cache.

parent 4de00bdb
Branches
Tags
No related merge requests found
......@@ -25,6 +25,16 @@ add_library(ctatapedaemon
TpconfigLine.cpp
Tpconfig.cpp)
if(CMAKE_COMPILER_IS_GNUCC)
if(GCC_VERSION_GE_4_8_0)
foreach(CTATAPESERVERDAEMON_LIBRARY_SRC
DriveHandler.cpp)
set_property(SOURCE ${CTATAPESERVERDAEMON_LIBRARY_SRC}
PROPERTY COMPILE_FLAGS " -Wno-unused-local-typedefs")
endforeach(CTATAPESERVERDAEMON_LIBRARY_SRC)
endif(GCC_VERSION_GE_4_8_0)
endif(CMAKE_COMPILER_IS_GNUCC)
target_link_libraries(ctatapedaemon
ctatapesession
ctamessages
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment