Skip to content

Commit

Permalink
cmake: drop ${PROJECT_NAME}-${ARILES_COMPONENT}_LIBRARIES
Browse files Browse the repository at this point in the history
  • Loading branch information
asherikov committed Jan 3, 2025
1 parent 5321a92 commit e2cf076
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ Changed
-------
* Rename exported cmake targets: use namespace and consistent naming.

Removed
-------
* Deprecated `${PROJECT_NAME}-${ARILES_COMPONENT}_LIBRARIES` cmake variables.


2.4.0
=====
Expand Down
3 changes: 0 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -326,9 +326,6 @@ if (${ARILES_ENABLE_CORE})
ARCHIVE_FILE "${CPACK_PACKAGE_NAME}-core-${CPACK_PACKAGE_VERSION}")


set(ariles_LIBRARIES "${PROJECT_NAME}-core_LIBRARIES")
set(ARILES_LIBRARIES "${PROJECT_NAME}::core")

set(ARILES_COMPONENT_CMAKE_DIR "share/${PROJECT_NAME}-core/")


Expand Down
1 change: 0 additions & 1 deletion cmake/arilesConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,3 @@ set (@PROJECT_NAME@_VERSION @PROJECT_VERSION_MAJOR@.@PROJECT_VERSION_MINOR@.@PRO

include("${CMAKE_CURRENT_LIST_DIR}/@ARILES_COMPONENT@_targets.cmake")

set (@ariles_LIBRARIES@ "@ARILES_LIBRARIES@")
2 changes: 0 additions & 2 deletions cmake/ariles_install_component.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ set(ARILES_VISITOR_${ARILES_VISITOR}_LIBS "${TGT_ARILES_VISITOR_LIB};${ARILES_VI
add_dependencies(${VISITOR_TARGET_PREFIX}_${ARILES_VISITOR} ${TGT_ARILES_VISITOR_LIB})


set(ariles_LIBRARIES "${PROJECT_NAME}-${ARILES_COMPONENT}_LIBRARIES")
set(ARILES_LIBRARIES "${PROJECT_NAME}::${ARILES_VISITOR}")
set(ARILES_FIND_CORE "find_package(${PROJECT_NAME}-core REQUIRED)")
if(ARILES_VISITOR_${ARILES_VISITOR}_LIBRARY_DIRS)
set(ARILES_LINK_DIRECTORIES "link_directories(\"${ARILES_VISITOR_${ARILES_VISITOR}_LIBRARY_DIRS}\")")
Expand Down

0 comments on commit e2cf076

Please sign in to comment.