Rename variable LIBRARY_DIR to LIB_INSTALL_DIR. This seems to match different distributions better. Thanks to Per Øyvind Karlsen
This commit is contained in:
parent
a7a59302ef
commit
901ddebe01
1 changed files with 5 additions and 5 deletions
|
@ -115,14 +115,14 @@ SET_TARGET_PROPERTIES(${telldus-core_TARGET} PROPERTIES
|
|||
)
|
||||
SIGN(${telldus-core_TARGET})
|
||||
|
||||
IF (NOT LIBRARY_DIR)
|
||||
SET(LIBRARY_DIR "lib")
|
||||
ENDIF (NOT LIBRARY_DIR)
|
||||
IF (NOT LIB_INSTALL_DIR)
|
||||
SET(LIB_INSTALL_DIR "lib")
|
||||
ENDIF (NOT LIB_INSTALL_DIR)
|
||||
|
||||
IF (UNIX)
|
||||
INSTALL(TARGETS ${telldus-core_TARGET}
|
||||
LIBRARY DESTINATION ${LIBRARY_DIR}
|
||||
ARCHIVE DESTINATION ${LIBRARY_DIR}
|
||||
LIBRARY DESTINATION ${LIB_INSTALL_DIR}
|
||||
ARCHIVE DESTINATION ${LIB_INSTALL_DIR}
|
||||
FRAMEWORK DESTINATION "/Library/Frameworks"
|
||||
PUBLIC_HEADER DESTINATION include
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue