Commit e041183f authored by Eric Cano's avatar Eric Cano
Browse files

Added compilation option needed for cache.

parent bb5fd394
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment