projects
/
platform
/
upstream
/
gflags.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bf88978
)
Use major version number only as SOVERSION.
author
Andreas Schuh
<andreas.schuh.84@gmail.com>
Fri, 2 May 2014 10:12:05 +0000
(11:12 +0100)
committer
Andreas Schuh
<andreas.schuh.84@gmail.com>
Fri, 2 May 2014 10:12:05 +0000
(11:12 +0100)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
7f65563
..
ca2c1df
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-22,7
+22,7
@@
version_numbers (
PACKAGE_VERSION_PATCH
)
PACKAGE_VERSION_PATCH
)
-set (PACKAGE_SOVERSION "${PACKAGE_VERSION_MAJOR}
.${PACKAGE_VERSION_MINOR}
")
+set (PACKAGE_SOVERSION "${PACKAGE_VERSION_MAJOR}")
# ----------------------------------------------------------------------------
# options
# ----------------------------------------------------------------------------
# options
@@
-258,10
+258,9
@@
foreach (TYPE IN ITEMS STATIC SHARED)
endif ()
set_target_properties (
gflags${opts}-${type} PROPERTIES COMPILE_DEFINITIONS "${defines}"
endif ()
set_target_properties (
gflags${opts}-${type} PROPERTIES COMPILE_DEFINITIONS "${defines}"
- OUTPUT_NAME "gflags${opts}"
- # Set VERSION instead of SOVERSION such
- # that it is also used on Windows
- VERSION "${PACKAGE_SOVERSION}"
+ OUTPUT_NAME "gflags${opts}"
+ VERSION "${PACKAGE_VERSION}"
+ SOVERSION "${PACKAGE_SOVERSION}"
)
if (HAVE_SHLWAPI_H)
target_link_libraries (gflags${opts}-${type} shlwapi.lib)
)
if (HAVE_SHLWAPI_H)
target_link_libraries (gflags${opts}-${type} shlwapi.lib)