Skip to content

Commit

Permalink
Issue #1: fixed library major version
Browse files Browse the repository at this point in the history
  • Loading branch information
f4exb committed Jul 18, 2017
1 parent 30a4f96 commit d536c43
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Expand Up @@ -46,7 +46,7 @@ set(CMAKE_BUILD_TYPE ${CMAKE_BUILD_TYPE} CACHE STRING "")
list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/Modules)

# Set the version information here
set(VERSION_INFO_MAJOR_VERSION 0) # increment major on api compatibility changes
set(VERSION_INFO_MAJOR_VERSION 4) # increment major on api compatibility changes
set(VERSION_INFO_MINOR_VERSION 0) # increment minor on feature-level changes
set(VERSION_INFO_PATCH_VERSION git) # increment patch for bug fixes and docs
include(Version) # setup version info
Expand Down Expand Up @@ -143,7 +143,7 @@ ENDIF(CMAKE_CROSSCOMPILING)

set(prefix ${CMAKE_INSTALL_PREFIX})
set(exec_prefix \${prefix})
set(libdir \${exec_prefix}/lib)
set(libdir \${exec_prefix}/lib${LIB_SUFFIX})
set(includedir \${prefix}/include)

CONFIGURE_FILE(
Expand All @@ -153,7 +153,7 @@ CONFIGURE_FILE(

INSTALL(
FILES ${CMAKE_CURRENT_BINARY_DIR}/libmirisdr.pc
DESTINATION lib/pkgconfig
DESTINATION lib${LIB_SUFFIX}/pkgconfig
)

########################################################################
Expand Down

0 comments on commit d536c43

Please sign in to comment.