Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

Commit

Permalink
Remove use of NAMELINK_COMPONENT (#372)
Browse files Browse the repository at this point in the history
NAMELINK_COMPONENT was introduced in cmake 3.11. We need to maintain
compataiblity with CMake 3.10.

Switching to using NAMELINK_SKIP will achieve the same goal we were
using NAMELINK_COMPONENT for. NAMELINK_SKIP is in CMake 3.10.
  • Loading branch information
Matt Schulte authored and wes-b committed May 24, 2019
1 parent 489f77b commit af47a77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/record/sdk/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ install(
${CMAKE_INSTALL_LIBDIR}
COMPONENT
runtime
NAMELINK_COMPONENT
development
NAMELINK_SKIP
ARCHIVE
DESTINATION
${CMAKE_INSTALL_LIBDIR}
Expand Down
3 changes: 1 addition & 2 deletions src/sdk/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,7 @@ install(
${CMAKE_INSTALL_LIBDIR}
COMPONENT
runtime
NAMELINK_COMPONENT
development
NAMELINK_SKIP
ARCHIVE
DESTINATION
${CMAKE_INSTALL_LIBDIR}
Expand Down

0 comments on commit af47a77

Please sign in to comment.