[uchardet: 7/29] CMake: Add static lib destination to UCHARDET_TARGET
- From: Jehan Pagès <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [uchardet: 7/29] CMake: Add static lib destination to UCHARDET_TARGET
- Date: Sun, 27 Mar 2016 18:37:01 +0000 (UTC)
commit b908b689a02f017ea8804f24968e924d2e922f72
Author: Ricardo Constantino (:RiCON) <wiiaboo gmail com>
Date: Wed Mar 16 18:51:15 2016 +0000
CMake: Add static lib destination to UCHARDET_TARGET
src/CMakeLists.txt | 22 ++++++++++++----------
1 files changed, 12 insertions(+), 10 deletions(-)
---
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 9a66412..1278f5f 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -98,19 +98,21 @@ endif (CMAKE_BUILD_TYPE MATCHES Debug)
if (NOT WIN32)
install(
- TARGETS
- ${UCHARDET_TARGET}
- LIBRARY DESTINATION
- ${DIR_LIBRARY}
+ TARGETS
+ ${UCHARDET_TARGET}
+ LIBRARY DESTINATION
+ ${DIR_LIBRARY}
+ ARCHIVE DESTINATION
+ ${DIR_LIBRARY}
)
else (NOT WIN32)
install(
- TARGETS
- ${UCHARDET_TARGET}
- RUNTIME DESTINATION
- ${CMAKE_INSTALL_BINDIR}
- ARCHIVE DESTINATION
- ${DIR_LIBRARY}
+ TARGETS
+ ${UCHARDET_TARGET}
+ RUNTIME DESTINATION
+ ${CMAKE_INSTALL_BINDIR}
+ ARCHIVE DESTINATION
+ ${DIR_LIBRARY}
)
endif (NOT WIN32)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]