Use correct functions in maxutils CMake files

The headers and the static library were installed unconditionally.
This commit is contained in:
Markus Mäkelä
2018-08-17 23:09:37 +03:00
parent 40a5ae81c7
commit 0685276764
2 changed files with 2 additions and 3 deletions

View File

@ -3,7 +3,7 @@ foreach(type ${TYPES})
file(GLOB HEADERS ${type})
foreach(var ${HEADERS})
get_filename_component(header ${var} NAME)
install(FILES ${header} DESTINATION include/maxbase)
install_header(${header} devel)
endforeach()
endforeach()