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:04 +00:00
parent 029c5e8989
commit 17294b0b34
4 changed files with 5 additions and 5 deletions

View File

@ -4,6 +4,6 @@ SET ( includes GdsLibrary.h GdsStructure.h GdsElement.h GdsRectangle.h )
SET ( cpps GdsLibrary.cpp GdsStructure.cpp GdsRectangle.cpp )
ADD_LIBRARY(agds ${cpps})
INSTALL(TARGETS agds DESTINATION lib)
INSTALL(TARGETS agds DESTINATION lib${LIB_SUFFIX})
INSTALL(FILES ${includes} DESTINATION include/io/agds)

View File

@ -4,6 +4,6 @@ SET ( includes CifCircuit.h CifPolygon.h )
SET ( cpps CifCircuit.cpp CifPolygon.cpp )
ADD_LIBRARY(cif ${cpps})
INSTALL(TARGETS cif DESTINATION lib)
INSTALL(TARGETS cif DESTINATION lib${LIB_SUFFIX})
INSTALL(FILES ${includes} DESTINATION include/io/cif)

View File

@ -21,7 +21,7 @@ SET ( pycpps PyTechno.cpp ${cpps})
ADD_LIBRARY(dtr ${cpps})
TARGET_LINK_LIBRARIES(dtr ${LIBXML2_LIBRARIES})
INSTALL(TARGETS dtr DESTINATION lib)
INSTALL(TARGETS dtr DESTINATION lib${LIB_SUFFIX})
IF (Boost_FOUND)
ADD_LIBRARY(pyDTR MODULE ${pycpps})
@ -30,7 +30,7 @@ SET_TARGET_PROPERTIES(pyDTR PROPERTIES
PREFIX ""
)
TARGET_LINK_LIBRARIES(pyDTR dtr ${LIBXML2_LIBRARIES} ${Boost_LIBRARIES} ${PYTHON_LIBRARIES})
INSTALL(TARGETS pyDTR DESTINATION lib/python)
INSTALL(TARGETS pyDTR DESTINATION lib${LIB_SUFFIX}/python)
ENDIF(Boost_FOUND)
INSTALL(FILES ${hpps} DESTINATION include/io/dtr)

View File

@ -28,6 +28,6 @@ ADD_LIBRARY(openChams ${cpps})
TARGET_LINK_LIBRARIES(openChams ${LIBXML2_LIBRARIES})
INSTALL(TARGETS openChams DESTINATION lib)
INSTALL(TARGETS openChams DESTINATION lib${LIB_SUFFIX} )
INSTALL(FILES ${includes} DESTINATION include/io/openChams)