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)
|
||||
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