File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -29,15 +29,15 @@ set(TAOCPP_OPERATORS_INSTALL_DOC_DIR "share/doc/tao/operators" CACHE STRING "The
29
29
set (TAOCPP_OPERATORS_INSTALL_CMAKE_DIR "share/taocpp-operators/cmake" CACHE STRING "The installation cmake directory" )
30
30
31
31
# 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
35
35
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR} /include >
36
36
$<INSTALL_INTERFACE:${TAOCPP_OPERATORS_INSTALL_INCLUDE_DIR} >
37
37
)
38
38
39
39
# features used by taocpp/operators
40
- target_compile_features (taocpp- operators INTERFACE
40
+ target_compile_features (operators INTERFACE
41
41
cxx_constexpr
42
42
cxx_noexcept
43
43
cxx_rvalue_references
@@ -54,9 +54,9 @@ endif()
54
54
configure_file (cmake/dummy-config.cmake.in taocpp-operators-config.cmake @ONLY)
55
55
56
56
# install and export target
57
- install (TARGETS taocpp- operators EXPORT taocpp- operators-targets)
57
+ install (TARGETS operators EXPORT operators-targets)
58
58
59
- install (EXPORT taocpp- operators-targets
59
+ install (EXPORT operators-targets
60
60
FILE taocpp-operators-config.cmake
61
61
NAMESPACE taocpp::
62
62
DESTINATION ${TAOCPP_OPERATORS_INSTALL_CMAKE_DIR}
You can’t perform that action at this time.
0 commit comments