Skip to content

Commit 37e4d45

Browse files
committed
minor: align the target name in conanfile with the document
1 parent 250f357 commit 37e4d45

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ build*/
55
!.vscode/launch.json
66
.gitattributes
77
compile_commands.json
8+
CMakeUserPresets.json
89
/*.cpp
910
/*.patch
1011
/*.diff

conanfile.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,5 @@ def package(self):
5757
def package_info(self):
5858
self.cpp_info.set_property("cmake_file_name", "P2300")
5959
self.cpp_info.set_property("cmake_target_name", "P2300::P2300")
60+
self.cpp_info.set_property("cmake_target_aliases", ["STDEXEC::stdexec"])
6061
self.cpp_info.libs = ["system_context"]

test_package/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ enable_testing()
55
find_package(P2300 REQUIRED)
66

77
add_executable(test_stdexec test.cpp)
8-
target_link_libraries(test_stdexec P2300::P2300)
8+
target_link_libraries(test_stdexec STDEXEC::stdexec)
99
add_test(test_stdexec test_stdexec)

0 commit comments

Comments
 (0)