Use current source directory for target sources
This commit is contained in:
parent
e38f381276
commit
151c72382b
@ -51,7 +51,7 @@ endif()
|
|||||||
add_library(cxxopts INTERFACE)
|
add_library(cxxopts INTERFACE)
|
||||||
target_sources(
|
target_sources(
|
||||||
cxxopts INTERFACE
|
cxxopts INTERFACE
|
||||||
${CMAKE_SOURCE_DIR}/include/cxxopts/cxxopts.hpp
|
${CMAKE_CURRENT_SOURCE_DIR}/include/cxxopts/cxxopts.hpp
|
||||||
)
|
)
|
||||||
target_include_directories(
|
target_include_directories(
|
||||||
cxxopts INTERFACE
|
cxxopts INTERFACE
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user