mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-22 06:09:14 -05:00
Tutorial: Order install(TARGETS) EXPORT option consistently with docs
This commit is contained in:
committed by
Brad King
parent
dea324f804
commit
4f524797dc
@@ -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