Skip to content

Commit

Permalink
Restore includedir and libdir
Browse files Browse the repository at this point in the history
Restore includedir and libdir. This was removed some time between 0.6.2 and 0.6.3 [1] causing pkg-config --libs and --ldflags to report empty -I and -L paths.

[1] v0.6.2...v0.6.3

See also:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269990
  • Loading branch information
ehaupt authored and phw committed Mar 6, 2023
1 parent 1065baa commit b89c145
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ SET(INCLUDE_INSTALL_DIR ${CMAKE_INSTALL_FULL_INCLUDEDIR} CACHE PATH "Installatio
SET(PACKAGE ${PROJECT_NAME})
SET(VERSION ${PROJECT_VERSION})
SET(PACKAGE_STRING "${PACKAGE} ${VERSION}")
SET(includedir ${INCLUDE_INSTALL_DIR})
SET(libdir ${LIB_INSTALL_DIR})

CONFIGURE_FILE(libdiscid.pc.in libdiscid.pc)
CONFIGURE_FILE(versioninfo.rc.in versioninfo.rc)
Expand Down

0 comments on commit b89c145

Please sign in to comment.