Skip to content

Commit

Permalink
Merge pull request #22 from francois-keith/master
Browse files Browse the repository at this point in the history
Cancel the force default libdir value.
  • Loading branch information
thomas-moulard committed Sep 17, 2013
2 parents 1a69565 + fba6aef commit 2cf7d27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions base.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,10 @@ ENDMACRO(_CONCATENATE_ARGUMENTS OUTPUT)
# file).
#
MACRO(SETUP_PROJECT)
INCLUDE(cmake/GNUInstallDirs.cmake)
IF(NOT DEFINED CMAKE_INSTALL_LIBDIR)
SET(CMAKE_INSTALL_LIBDIR ${CMAKE_INSTALL_PREFIX}/lib)
SET(CMAKE_INSTALL_LIBDIR lib)
ENDIF()
INCLUDE(cmake/GNUInstallDirs.cmake)
SET(CMAKE_INSTALL_FULL_PKGLIBDIR ${CMAKE_INSTALL_FULL_LIBDIR}/${PROJECT_NAME})
SET(CMAKE_INSTALL_PKGLIBDIR ${CMAKE_INSTALL_LIBDIR}/${PROJECT_NAME})

Expand Down

0 comments on commit 2cf7d27

Please sign in to comment.