Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

implement Vitali's suggestion of a *cmake* var for lib64 support rath…

…er than *environment* variable
  • Loading branch information...
commit 402d4a3c62fc96d75ad55439f39eea06d2f30e37 1 parent d4afe02
@lloyd authored
Showing with 5 additions and 5 deletions.
  1. +1 −1  BUILDING
  2. +4 −4 src/CMakeLists.txt
View
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.
View
8 src/CMakeLists.txt
@@ -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()
Please sign in to comment.
Something went wrong with that request. Please try again.