Merge pull request #456 from guruofquality/cmake_library_install_work

poco: library install dirs per RUNTIME/LIBRARY/ARCHIVE
This commit is contained in:
Aleksandar Fabijanic 2014-05-21 19:21:38 -05:00
commit 001b969eba
14 changed files with 42 additions and 14 deletions

View File

@ -23,7 +23,9 @@ install(
install(
TARGETS ${LIBNAME}
DESTINATION lib
LIBRARY DESTINATION lib${LIB_SUFFIX}
ARCHIVE DESTINATION lib${LIB_SUFFIX}
RUNTIME DESTINATION bin
)
if (ENABLE_TESTS)

View File

@ -27,7 +27,9 @@ install(
install(
TARGETS ${LIBNAME}
DESTINATION lib
LIBRARY DESTINATION lib${LIB_SUFFIX}
ARCHIVE DESTINATION lib${LIB_SUFFIX}
RUNTIME DESTINATION bin
)
add_subdirectory( SQLite )

View File

@ -22,7 +22,9 @@ install(
install(
TARGETS ${LIBNAME}
DESTINATION lib
LIBRARY DESTINATION lib${LIB_SUFFIX}
ARCHIVE DESTINATION lib${LIB_SUFFIX}
RUNTIME DESTINATION bin
)
if (ENABLE_TESTS)

View File

@ -35,7 +35,9 @@ install(
install(
TARGETS ${LIBNAME}
DESTINATION lib
LIBRARY DESTINATION lib${LIB_SUFFIX}
ARCHIVE DESTINATION lib${LIB_SUFFIX}
RUNTIME DESTINATION bin
)
if (ENABLE_TESTS)

View File

@ -39,7 +39,9 @@ install(
install(
TARGETS ${LIBNAME}
DESTINATION lib
LIBRARY DESTINATION lib${LIB_SUFFIX}
ARCHIVE DESTINATION lib${LIB_SUFFIX}
RUNTIME DESTINATION bin
)
if (ENABLE_TESTS)

View File

@ -249,7 +249,9 @@ install(
install(
TARGETS ${LIBNAME}
DESTINATION lib
LIBRARY DESTINATION lib${LIB_SUFFIX}
ARCHIVE DESTINATION lib${LIB_SUFFIX}
RUNTIME DESTINATION bin
)
if (ENABLE_TESTS)

View File

@ -20,7 +20,9 @@ install(
install(
TARGETS ${LIBNAME}
DESTINATION lib
LIBRARY DESTINATION lib${LIB_SUFFIX}
ARCHIVE DESTINATION lib${LIB_SUFFIX}
RUNTIME DESTINATION bin
)
if (ENABLE_TESTS)

View File

@ -20,7 +20,9 @@ install(
install(
TARGETS ${LIBNAME}
DESTINATION lib
LIBRARY DESTINATION lib${LIB_SUFFIX}
ARCHIVE DESTINATION lib${LIB_SUFFIX}
RUNTIME DESTINATION bin
)
if (ENABLE_TESTS)

View File

@ -131,7 +131,9 @@ install(
install(
TARGETS ${LIBNAME}
DESTINATION lib
LIBRARY DESTINATION lib${LIB_SUFFIX}
ARCHIVE DESTINATION lib${LIB_SUFFIX}
RUNTIME DESTINATION bin
)
if (ENABLE_TESTS)

View File

@ -21,7 +21,9 @@ install(
install(
TARGETS ${LIBNAME}
DESTINATION lib
LIBRARY DESTINATION lib${LIB_SUFFIX}
ARCHIVE DESTINATION lib${LIB_SUFFIX}
RUNTIME DESTINATION bin
)
if (ENABLE_TESTS)

View File

@ -21,7 +21,9 @@ install(
install(
TARGETS ${LIBNAME}
DESTINATION lib
LIBRARY DESTINATION lib${LIB_SUFFIX}
ARCHIVE DESTINATION lib${LIB_SUFFIX}
RUNTIME DESTINATION bin
)
if (ENABLE_TESTS)

View File

@ -57,7 +57,9 @@ install(
install(
TARGETS ${LIBNAME}
DESTINATION lib
LIBRARY DESTINATION lib${LIB_SUFFIX}
ARCHIVE DESTINATION lib${LIB_SUFFIX}
RUNTIME DESTINATION bin
)
if (ENABLE_TESTS)

View File

@ -18,7 +18,9 @@ install(
install(
TARGETS ${LIBNAME}
DESTINATION lib
LIBRARY DESTINATION lib${LIB_SUFFIX}
ARCHIVE DESTINATION lib${LIB_SUFFIX}
RUNTIME DESTINATION bin
)
if (ENABLE_TESTS)

View File

@ -20,7 +20,9 @@ install(
install(
TARGETS ${LIBNAME}
DESTINATION lib
LIBRARY DESTINATION lib${LIB_SUFFIX}
ARCHIVE DESTINATION lib${LIB_SUFFIX}
RUNTIME DESTINATION bin
)
if (ENABLE_TESTS)