Skip to content

Commit

Permalink
Move install
Browse files Browse the repository at this point in the history
  • Loading branch information
thbeu committed Jul 15, 2024
1 parent eabd807 commit fdf6c32
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -174,11 +174,6 @@ install(TARGETS ${PACKAGE}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
)

install(
FILES "${SHAPELIB_PC}"
DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig
)

# executables to be built and installed.
if(BUILD_APPS)
set(executables
Expand Down Expand Up @@ -231,6 +226,9 @@ install(TARGETS ${executables}
# Install header
install(FILES shapefil.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})

# Install pkg-config file
install(FILES "${SHAPELIB_PC}" DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)

if(BUILD_TESTING)
# Set up tests:

Expand Down

0 comments on commit fdf6c32

Please sign in to comment.