Skip to content

Commit

Permalink
build: conventional name of export set, ref #180
Browse files Browse the repository at this point in the history
  • Loading branch information
iboB committed Nov 6, 2024
1 parent d3215b9 commit ed6f42b
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion common/astl/public/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ target_sources(astl-public INTERFACE FILE_SET HEADERS FILES
# target_link_libraries(astl INTERFACE )

install(TARGETS astl-public
EXPORT ac-local
EXPORT ac-local-targets
FILE_SET HEADERS
)
2 changes: 1 addition & 1 deletion common/jalog/code/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,6 @@ target_link_libraries(ac-jalog
)

install(TARGETS ac-jalog
EXPORT ac-local
EXPORT ac-local-targets
FILE_SET HEADERS
)
4 changes: 2 additions & 2 deletions dict/code/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
add_library(ac-dict INTERFACE)
add_library(ac::dict ALIAS ac-dict)
set_target_properties(ac-dict PROPERTIES
set_target_properties(ac-dict PROPERTIES
EXPORT_NAME dict
)
target_sources(ac-dict INTERFACE FILE_SET HEADERS FILES
Expand All @@ -13,6 +13,6 @@ target_sources(ac-dict INTERFACE FILE_SET HEADERS FILES
)

install(TARGETS ac-dict
EXPORT ac-local
EXPORT ac-local-targets
FILE_SET HEADERS
)
4 changes: 2 additions & 2 deletions local/code/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ target_sources(ac-local
)

install(TARGETS ac-local
EXPORT ac-local
EXPORT ac-local-targets
FILE_SET HEADERS
)
install(EXPORT ac-local
install(EXPORT ac-local-targets
NAMESPACE ac::
DESTINATION share/cmake
)
2 changes: 1 addition & 1 deletion local/schema/code/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ target_sources(ac-schema INTERFACE FILE_SET HEADERS FILES
)

install(TARGETS ac-schema
EXPORT ac-local
EXPORT ac-local-targets
FILE_SET HEADERS
)

0 comments on commit ed6f42b

Please sign in to comment.