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) ...@@ -28,6 +28,7 @@ IF(UNIX)
) )
ENDIF(UNIX) ENDIF(UNIX)
INCLUDE(GNUInstallDirs)
IF(WIN32) IF(WIN32)
INSTALL(TARGETS aec sz INSTALL(TARGETS aec sz
RUNTIME RUNTIME
...@@ -39,19 +40,19 @@ IF(WIN32) ...@@ -39,19 +40,19 @@ IF(WIN32)
ELSE(WIN32) ELSE(WIN32)
INSTALL(TARGETS aec sz INSTALL(TARGETS aec sz
LIBRARY LIBRARY
DESTINATION lib DESTINATION ${CMAKE_INSTALL_LIBDIR}
ARCHIVE ARCHIVE
DESTINATION lib DESTINATION ${CMAKE_INSTALL_LIBDIR}
COMPONENT libraries COMPONENT libraries
) )
ENDIF(WIN32) ENDIF(WIN32)
INSTALL(FILES libaec.h szlib.h INSTALL(FILES libaec.h szlib.h
DESTINATION include DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
COMPONENT headers COMPONENT headers
) )
INSTALL(TARGETS aec_client INSTALL(TARGETS aec_client
RUNTIME RUNTIME
DESTINATION bin DESTINATION ${CMAKE_INSTALL_BINDIR}
COMPONENT applications 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