Skip to content

Commit cb915d5

Browse files
committed
Fix target name
1 parent 3f8360e commit cb915d5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ option(SUBPROCESS_INSTALL "enable subprocess install" OFF)
88

99
find_package(Threads REQUIRED)
1010

11-
add_library(cpp-subprocess INTERFACE)
12-
target_link_libraries(cpp-subprocess INTERFACE Threads::Threads)
13-
target_sources(cpp-subprocess PUBLIC
11+
add_library(subprocess INTERFACE)
12+
target_link_libraries(subprocess INTERFACE Threads::Threads)
13+
target_sources(subprocess PUBLIC
1414
FILE_SET HEADERS
1515
FILES
1616
cpp-subprocess/subprocess.hpp
1717
BASE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/
1818
)
19-
add_library(cpp-subprocess::subprocess ALIAS cpp-subprocess)
19+
add_library(cpp-subprocess::subprocess ALIAS subprocess)
2020

2121
if(SUBPROCESS_INSTALL)
2222
install(

0 commit comments

Comments
 (0)