Use absolute path to example file

This commit is contained in:
Arnav Borborah 2018-04-12 13:24:29 -04:00 committed by GitHub
parent 819492e080
commit a7a09535ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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