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:
parent
17294b0b34
commit
9b54c926fe
|
@ -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 )
|
||||
|
|
|
@ -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 )
|
||||
|
|
|
@ -116,4 +116,4 @@
|
|||
${QT_LIBRARIES}
|
||||
# ${Boost_LIBRARIES}
|
||||
)
|
||||
install ( TARGETS viewer DESTINATION lib )
|
||||
install ( TARGETS viewer DESTINATION lib${LIB_SUFFIX} )
|
||||
|
|
Loading…
Reference in New Issue