Adds LIB_SUFFIX to all CMakeLists install "lib" targets, so that 64 bits

libraries gets installed in "lib64" instead of "lib".

buildCoriolis.py sets automatically LIB_SUFFIX for cmake.
coriolis2.spec modificated to uses lib64 on 64 bits.
This commit is contained in:
Jean-Paul Chaput 2010-05-17 21:19:07 +00:00
parent 17294b0b34
commit 9b54c926fe
3 changed files with 4 additions and 4 deletions

View File

@ -151,5 +151,5 @@
)
add_library ( hurricane ${cpps} )
install ( TARGETS hurricane DESTINATION lib)
install ( TARGETS hurricane DESTINATION lib${LIB_SUFFIX} )
install ( FILES ${includes} DESTINATION include/hurricane )

View File

@ -92,5 +92,5 @@
)
target_link_libraries ( Hurricane isobar hurricane ${PYTHON_LIBRARIES} )
install ( TARGETS isobar DESTINATION lib )
install ( TARGETS Hurricane DESTINATION lib/python )
install ( TARGETS isobar DESTINATION lib${LIB_SUFFIX} )
install ( TARGETS Hurricane DESTINATION lib${LIB_SUFFIX}/python )

View File

@ -116,4 +116,4 @@
${QT_LIBRARIES}
# ${Boost_LIBRARIES}
)
install ( TARGETS viewer DESTINATION lib )
install ( TARGETS viewer DESTINATION lib${LIB_SUFFIX} )