Permalink
Browse files

Install project libraries to libdir/PROJECT_NAME-APIVERSION to match

include dir installation.
  • Loading branch information...
1 parent bf91f5a commit 15a312cb0f74feaa636fb16a988fea78e32e63fb Rich Mattes committed Jun 20, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 cmake/internal/FindOS.cmake
@@ -62,10 +62,10 @@ ENDIF (PROJECT_OS_LINUX)
IF(PROJECT_PROC_64BIT)
# Set the install path to lib64
SET(PROJECT_LIB_DIR "lib64")
- SET(PROJECT_PLUGIN_DIR "lib64/stage")
+ SET(PROJECT_PLUGIN_DIR "lib64/${PROJECT_NAME}-${APIVERSION}")
ELSE (PROJECT_PROC_64BIT)
SET(PROJECT_LIB_DIR "lib")
- SET(PROJECT_PLUGIN_DIR "lib/stage")
+ SET(PROJECT_PLUGIN_DIR "lib/${PROJECT_NAME}-${APIVERSION}")
ENDIF (PROJECT_PROC_64BIT)
MESSAGE(STATUS "Installing Libraries to ${CMAKE_INSTALL_PREFIX}/${PROJECT_LIB_DIR}")

0 comments on commit 15a312c

Please sign in to comment.