41 lines
1.4 KiB
Diff
41 lines
1.4 KiB
Diff
|
diff --git a/Examples/CMakeLists.txt b/Examples/CMakeLists.txt
|
||
|
--- a/Examples/CMakeLists.txt
|
||
|
+++ b/Examples/CMakeLists.txt
|
||
|
@@ -16,8 +16,9 @@
|
||
|
+include(GNUInstallDirs)
|
||
|
install(TARGETS antsUtilities
|
||
|
- RUNTIME DESTINATION bin
|
||
|
+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||
|
COMPONENT RUNTIME_antsUtilities
|
||
|
- LIBRARY DESTINATION lib
|
||
|
+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||
|
COMPONENT RUNTIME_antsUtilities
|
||
|
- ARCHIVE DESTINATION lib
|
||
|
+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||
|
COMPONENT DEVELOPMENT_antsUtilities
|
||
|
)
|
||
|
@@ -38,8 +38,8 @@
|
||
|
install(TARGETS l_${ANTS_FUNCTION_NAME} ${ANTS_FUNCTION_NAME}
|
||
|
- RUNTIME DESTINATION bin
|
||
|
+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||
|
COMPONENT RUNTIME_${ANTS_FUNCTION_NAME}
|
||
|
- LIBRARY DESTINATION lib
|
||
|
+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||
|
COMPONENT RUNTIME_${ANTS_FUNCTION_NAME}
|
||
|
- ARCHIVE DESTINATION lib
|
||
|
+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||
|
COMPONENT DEVELOPMENT_${ANTS_FUNCTION_NAME}
|
||
|
)
|
||
|
@@ -61,8 +61,8 @@
|
||
|
install(TARGETS l_${ANTS_FUNCTION_NAME} ${ANTS_FUNCTION_NAME}
|
||
|
- RUNTIME DESTINATION bin
|
||
|
+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||
|
COMPONENT RUNTIME_${ANTS_FUNCTION_NAME}
|
||
|
- LIBRARY DESTINATION lib
|
||
|
+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||
|
COMPONENT RUNTIME_${ANTS_FUNCTION_NAME}
|
||
|
- ARCHIVE DESTINATION lib
|
||
|
+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||
|
COMPONENT DEVELOPMENT_${ANTS_FUNCTION_NAME}
|
||
|
)
|