mirror of
https://github.com/ttroy50/cmake-examples.git
synced 2025-12-18 12:14:36 +03:00
Update CMakeLists.txt
typo
This commit is contained in:
@@ -3,8 +3,8 @@ project(subbinary)
|
|||||||
# Create the executable
|
# Create the executable
|
||||||
add_executable(${PROJECT_NAME} main.cpp)
|
add_executable(${PROJECT_NAME} main.cpp)
|
||||||
|
|
||||||
# Link the static library from subproject1 using it's alias sub::lib1
|
# Link the static library from subproject1 using its alias sub::lib1
|
||||||
# Link the header only library from subproject2 using it's alias sub::lib2
|
# Link the header only library from subproject2 using its alias sub::lib2
|
||||||
# This will cause the include directories for that target to be added to this project
|
# This will cause the include directories for that target to be added to this project
|
||||||
target_link_libraries(${PROJECT_NAME}
|
target_link_libraries(${PROJECT_NAME}
|
||||||
sub::lib1
|
sub::lib1
|
||||||
|
|||||||
Reference in New Issue
Block a user