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