Fixed cmake header file installation flattening include subdirectories
This commit is contained in:
parent
f656fb4279
commit
eb36959023
1 changed files with 5 additions and 1 deletions
|
@ -247,7 +247,11 @@ if (COVERALLS)
|
|||
coveralls_setup("${SOURCE_FILES}" ${COVERALLS_UPLOAD})
|
||||
endif()
|
||||
|
||||
install(FILES ${INTERFACE_FILES} DESTINATION include/criterion)
|
||||
foreach (F ${INTERFACE_FILES})
|
||||
get_filename_component(DEST "${F}" DIRECTORY)
|
||||
install(FILES "${F}" DESTINATION "${DEST}")
|
||||
endforeach ()
|
||||
|
||||
install(TARGETS criterion
|
||||
RUNTIME DESTINATION bin
|
||||
LIBRARY DESTINATION lib
|
||||
|
|
Loading…
Add table
Reference in a new issue