Commit f8f371c3 authored by Steffen Vogel's avatar Steffen Vogel 🎅🏼
Browse files

cmake: install libraries to correct location on Fedora

parent 69b70eab
......@@ -39,3 +39,5 @@ RUN pip3 install \
sphinx \
m2r \
breathe
ENV LD_LIBRARY_PATH /usr/local/lib64
......@@ -84,8 +84,10 @@ target_include_directories(dpsim PRIVATE ${INCLUDE_DIRS})
include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR})
configure_file(Config.h.in ${CMAKE_CURRENT_BINARY_DIR}/Config.h)
include(GNUInstallDirs)
install(TARGETS dpsim
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib/static
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}/static
)
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