Also add includes to TARGETS_INST_DEST

pull/66/merge
Gregor Jasny 8 years ago
parent 672c359b75
commit e7fdf4829e
  1. 3
      CMakeLists.txt

@ -48,6 +48,7 @@ SET (TARGETS_INST_DEST
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
)
# Look for dependent/required libraries
@ -552,7 +553,6 @@ IF (CARES_SHARED)
IF (CARES_INSTALL)
INSTALL (TARGETS ${PROJECT_NAME} EXPORT ${PROJECT_NAME}-targets
${TARGETS_INST_DEST}
INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
)
ENDIF ()
SET (STATIC_SUFFIX "_static")
@ -589,7 +589,6 @@ IF (CARES_STATIC)
IF (CARES_INSTALL)
INSTALL (TARGETS ${LIBNAME} EXPORT ${PROJECT_NAME}-targets
${TARGETS_INST_DEST}
INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
)
ENDIF ()

Loading…
Cancel
Save