mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-24 07:08:38 -05:00
Merge topic 'tutorial-install-arg-order'
4f524797dc Tutorial: Order install(TARGETS) EXPORT option consistently with docs
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6770
This commit is contained in:
@@ -62,6 +62,6 @@ if(TARGET SqrtLibrary)
|
||||
list(APPEND installable_libs SqrtLibrary)
|
||||
endif()
|
||||
install(TARGETS ${installable_libs}
|
||||
DESTINATION lib
|
||||
EXPORT MathFunctionsTargets)
|
||||
EXPORT MathFunctionsTargets
|
||||
DESTINATION lib)
|
||||
install(FILES MathFunctions.h DESTINATION include)
|
||||
|
||||
@@ -58,6 +58,6 @@ if(TARGET SqrtLibrary)
|
||||
list(APPEND installable_libs SqrtLibrary)
|
||||
endif()
|
||||
install(TARGETS ${installable_libs}
|
||||
DESTINATION lib
|
||||
EXPORT MathFunctionsTargets)
|
||||
EXPORT MathFunctionsTargets
|
||||
DESTINATION lib)
|
||||
install(FILES MathFunctions.h DESTINATION include)
|
||||
|
||||
Reference in New Issue
Block a user