Use correct functions in maxutils CMake files
The headers and the static library were installed unconditionally.
This commit is contained in:
@ -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()
|
||||
|
||||
|
Reference in New Issue
Block a user