Use absolute path to example file
This commit is contained in:
parent
819492e080
commit
a7a09535ec
@ -7,5 +7,5 @@ set(CMAKE_CXX_EXTENSIONS OFF)
|
||||
|
||||
add_subdirectory(../.. cxxopts EXCLUDE_FROM_ALL)
|
||||
|
||||
add_executable(library-test "../../src/example.cpp")
|
||||
add_executable(library-test "${PROJECT_SOURCE_DIR}/src/example.cpp")
|
||||
target_link_libraries(library-test cxxopts)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user