Commit e03befe6 authored by Christoph Junghans's avatar Christoph Junghans Committed by Mathis Rosenhauer

cmake: add multilib support

Follow GNU convention for install directories, especially using
`lib64` instead of `lib`.
Signed-off-by: default avatarChristoph Junghans <junghans@votca.org>
parent 351b61eb
......@@ -28,6 +28,7 @@ IF(UNIX)
)
ENDIF(UNIX)
INCLUDE(GNUInstallDirs)
IF(WIN32)
INSTALL(TARGETS aec sz
RUNTIME
......@@ -39,19 +40,19 @@ IF(WIN32)
ELSE(WIN32)
INSTALL(TARGETS aec sz
LIBRARY
DESTINATION lib
DESTINATION ${CMAKE_INSTALL_LIBDIR}
ARCHIVE
DESTINATION lib
DESTINATION ${CMAKE_INSTALL_LIBDIR}
COMPONENT libraries
)
ENDIF(WIN32)
INSTALL(FILES libaec.h szlib.h
DESTINATION include
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
COMPONENT headers
)
INSTALL(TARGETS aec_client
RUNTIME
DESTINATION bin
DESTINATION ${CMAKE_INSTALL_BINDIR}
COMPONENT applications
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment