mirror of
https://github.com/ttroy50/cmake-examples.git
synced 2025-12-18 20:24:35 +03:00
Update from inc to include directory
This commit is contained in:
@@ -16,7 +16,7 @@ add_library(hello_library SHARED ${library_SOURCES})
|
||||
add_library(hello::library ALIAS hello_library)
|
||||
|
||||
target_include_directories(hello_library
|
||||
PUBLIC ${PROJECT_SOURCE_DIR}/inc
|
||||
PUBLIC ${PROJECT_SOURCE_DIR}/include
|
||||
)
|
||||
|
||||
############################################################
|
||||
@@ -34,4 +34,4 @@ add_executable(hello_binary ${binary_SOURCES})
|
||||
# link the new hello_library target with the hello_binary target
|
||||
target_link_libraries( hello_binary
|
||||
PRIVATE hello::library
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user