Skip to content

Commit

Permalink
Remove DESTINATION from target installs
Browse files Browse the repository at this point in the history
Not specifying them is better than doing it, since they default to sane
values, while still allowing users to provide custom relative paths
based on the installation prefix.

Signed-off-by: Rodrigo Tobar <[email protected]>
  • Loading branch information
rtobar committed Aug 21, 2024
1 parent be6432a commit 32fda84
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/apps/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ endif()

install(TARGETS profit-cli
EXPORT profit-targets
RUNTIME DESTINATION bin
)

if (LIBPROFIT_TEST)
Expand Down
2 changes: 0 additions & 2 deletions src/profit/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,6 @@ target_include_directories(profit PRIVATE ${PROFIT_INCLUDE_DIRS})
#
install(TARGETS profit
EXPORT profit-targets
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
)
install(FILES
${PUBLIC_HEADERS}
Expand Down

0 comments on commit 32fda84

Please sign in to comment.