1 |
jpp |
1.1 |
diff -Nru a/CMakeLists.txt b/CMakeLists.txt |
2 |
|
|
--- a/CMakeLists.txt 2015-11-26 23:03:52.000000000 +0100 |
3 |
|
|
+++ b/CMakeLists.txt 2016-05-07 17:14:06.000000000 +0200 |
4 |
|
|
@@ -301,7 +301,7 @@ |
5 |
|
|
target_link_libraries(evhtp ${LIBEVHTP_EXTERNAL_LIBS}) |
6 |
|
|
|
7 |
|
|
if (EVHTP_BUILD_SHARED) |
8 |
|
|
- set_target_properties(evhtp PROPERTIES SOVERSION "${PROJECT_VERSION}") |
9 |
|
|
+ set_target_properties(evhtp PROPERTIES VERSION "${PROJECT_VERSION}" SOVERSION "${PROJECT_MAJOR_VERSION}") |
10 |
|
|
endif() |
11 |
|
|
|
12 |
|
|
add_subdirectory(tools) |
13 |
|
|
@@ -344,7 +345,7 @@ |
14 |
|
|
${CMAKE_CURRENT_BINARY_DIR}/evhtp.pc @ONLY) |
15 |
|
|
|
16 |
|
|
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/evhtp.pc" |
17 |
|
|
- DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/pkgconfig") |
18 |
|
|
+ DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig") |
19 |
|
|
|
20 |
|
|
# add_definitions() calls do not show up in the C_FLAGS var |
21 |
|
|
# it is instead a property of COMPILE_DEFINITIONS. |