Skip to content

Commit

Permalink
cmake/packaging: don't install the main library to a subdirectory
Browse files Browse the repository at this point in the history
  • Loading branch information
vs49688 committed May 12, 2024
1 parent f69c3ae commit c5e733e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cmake/brender.pc.in
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
libdir="@CMAKE_INSTALL_FULL_LIBDIR@/brender"
libdir="@CMAKE_INSTALL_FULL_LIBDIR@"
includedir="@CMAKE_INSTALL_FULL_INCLUDEDIR@/brender"

Name: @PROJECT_NAME@
Description: @CMAKE_PROJECT_DESCRIPTION@
URL: @CMAKE_PROJECT_HOMEPAGE_URL@
Version: @PROJECT_VERSION@
Cflags: -I"${includedir}" -I"${includedir}/glrend" -I"${includedir}/sdl2dev"
Libs: -L"${libdir}" -lglrend -lsdl2dev -lbrender
Libs: -L"${libdir}" -L"${libdir}/brender" -lglrend -lsdl2dev -lbrender
4 changes: 2 additions & 2 deletions cmake/packaging.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ include(GNUInstallDirs)
install(TARGETS
brender brender-ddi
EXPORT Core
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/brender
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}/brender
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
)

install(TARGETS
Expand Down

0 comments on commit c5e733e

Please sign in to comment.