Skip to content

Commit

Permalink
Merge pull request #783.
Browse files Browse the repository at this point in the history
cmake install files with folder hierarchy
  • Loading branch information
lballabio committed Mar 14, 2020
2 parents c795f39 + 78820a8 commit d37b6d8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ql/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2259,8 +2259,10 @@ else()
endif()
set(QL_LINK_LIBRARY ${QL_OUTPUT_NAME} PARENT_SCOPE)


install(FILES ${QuantLib_HDR} DESTINATION include/ql)
foreach(file ${QuantLib_HDR})
get_filename_component(dir ${file} DIRECTORY)
install(FILES ${file} DESTINATION include/ql/${dir})
endforeach()

install(TARGETS ${QL_OUTPUT_NAME}
ARCHIVE DESTINATION lib
Expand Down

0 comments on commit d37b6d8

Please sign in to comment.