implement Vitali's suggestion of a *cmake* var for lib64 support rather than *environment* variable
This commit is contained in:
parent
d4afe025bc
commit
402d4a3c62
2
BUILDING
2
BUILDING
|
@ -15,7 +15,7 @@ OR, attain CMake and build by hand:
|
|||
4. make
|
||||
5. build output left in yajl-X.Y.Z
|
||||
|
||||
NOTE: for 64-bit systems where lib64 is used you can pass the environment
|
||||
NOTE: for 64-bit systems where lib64 is used you can pass the cmake
|
||||
variable LIB_SUFFIX to cause installation into the system's 'lib64'
|
||||
directory.
|
||||
|
||||
|
|
|
@ -77,9 +77,9 @@ ENDFOREACH (header ${PUB_HDRS})
|
|||
INCLUDE_DIRECTORIES(${incDir}/..)
|
||||
|
||||
IF(NOT WIN32)
|
||||
# at build time you may specify LIB_SUFFIX to handle 64-bit systems which
|
||||
# use 'lib64'
|
||||
INSTALL(TARGETS yajl LIBRARY DESTINATION lib$ENV{LIB_SUFFIX})
|
||||
INSTALL(TARGETS yajl_s ARCHIVE DESTINATION lib$ENV{LIB_SUFFIX})
|
||||
# at build time you may specify the cmake variable LIB_SUFFIX to handle
|
||||
# 64-bit systems which use 'lib64'
|
||||
INSTALL(TARGETS yajl LIBRARY DESTINATION lib${LIB_SUFFIX})
|
||||
INSTALL(TARGETS yajl_s ARCHIVE DESTINATION lib${LIB_SUFFIX})
|
||||
INSTALL(DIRECTORY api/ DESTINATION include/yajl)
|
||||
ENDIF()
|
||||
|
|
Loading…
Reference in New Issue