Files
MaxScale/maxutils/maxbase/include/maxbase/CMakeLists.txt
Markus Mäkelä 0685276764 Use correct functions in maxutils CMake files
The headers and the static library were installed unconditionally.
2018-08-20 13:56:58 +03:00

11 lines
215 B
CMake

set(TYPES "*.h" "*.hh")
foreach(type ${TYPES})
file(GLOB HEADERS ${type})
foreach(var ${HEADERS})
get_filename_component(header ${var} NAME)
install_header(${header} devel)
endforeach()
endforeach()