Skip to content

Commit 77ecddd

Browse files
committed
Fix naming
1 parent d367bcd commit 77ecddd

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

CMakeLists.txt

+6-6
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ set(TAOCPP_OPERATORS_INSTALL_DOC_DIR "share/doc/tao/operators" CACHE STRING "The
2929
set(TAOCPP_OPERATORS_INSTALL_CMAKE_DIR "share/taocpp-operators/cmake" CACHE STRING "The installation cmake directory")
3030

3131
# define a header-only library
32-
add_library(taocpp-operators INTERFACE)
33-
add_library(taocpp::operators ALIAS taocpp-operators)
34-
target_include_directories(taocpp-operators INTERFACE
32+
add_library(operators INTERFACE)
33+
add_library(taocpp::operators ALIAS operators)
34+
target_include_directories(operators INTERFACE
3535
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
3636
$<INSTALL_INTERFACE:${TAOCPP_OPERATORS_INSTALL_INCLUDE_DIR}>
3737
)
3838

3939
# features used by taocpp/operators
40-
target_compile_features(taocpp-operators INTERFACE
40+
target_compile_features(operators INTERFACE
4141
cxx_constexpr
4242
cxx_noexcept
4343
cxx_rvalue_references
@@ -54,9 +54,9 @@ endif()
5454
configure_file(cmake/dummy-config.cmake.in taocpp-operators-config.cmake @ONLY)
5555

5656
# install and export target
57-
install(TARGETS taocpp-operators EXPORT taocpp-operators-targets)
57+
install(TARGETS operators EXPORT operators-targets)
5858

59-
install(EXPORT taocpp-operators-targets
59+
install(EXPORT operators-targets
6060
FILE taocpp-operators-config.cmake
6161
NAMESPACE taocpp::
6262
DESTINATION ${TAOCPP_OPERATORS_INSTALL_CMAKE_DIR}

0 commit comments

Comments
 (0)