Skip to content

Commit

Permalink
Undo
Browse files Browse the repository at this point in the history
  • Loading branch information
Byrdman32 committed Mar 20, 2024
1 parent cf3f0cd commit 5cb4901
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,10 @@ install(TARGETS ${PROJECT_NAME}
)

## Install headers and sources into corresponding folders
if(PROJECT_IS_TOP_LEVEL)
install(DIRECTORY src/RoveComm DESTINATION include FILES_MATCHING PATTERN "*.h")
install(DIRECTORY external/ DESTINATION external FILES_MATCHING PATTERN "*.hpp")
install(DIRECTORY src/interfaces DESTINATION include FILES_MATCHING PATTERN "*.hpp")
install(DIRECTORY src/util DESTINATION include FILES_MATCHING PATTERN "*.hpp")
endif()
install(DIRECTORY src/RoveComm DESTINATION include FILES_MATCHING PATTERN "*.h")
install(DIRECTORY external/ DESTINATION external FILES_MATCHING PATTERN "*.hpp")
install(DIRECTORY src/interfaces DESTINATION include FILES_MATCHING PATTERN "*.hpp")
install(DIRECTORY src/util DESTINATION include FILES_MATCHING PATTERN "*.hpp")

## Create the pkg-config file from the template.
configure_file(src/RoveComm/${PROJECT_NAME}.pc.in ${PROJECT_NAME}.pc @ONLY)
Expand Down

0 comments on commit 5cb4901

Please sign in to comment.