Skip to content

Commit

Permalink
Fixes issue #5
Browse files Browse the repository at this point in the history
  • Loading branch information
p-ranav authored Apr 10, 2019
1 parent f3cd481 commit 483e9f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ add_library(argparse::argparse ALIAS argparse)
target_compile_features(argparse INTERFACE cxx_std_17)
target_include_directories(argparse INTERFACE
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>/include)
$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}>/include)

if(ARGPARSE_BUILD_TESTS)
add_subdirectory(test)
Expand All @@ -21,4 +21,4 @@ install(EXPORT argparseConfig
NAMESPACE argparse::
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/argparse)
install(FILES ${CMAKE_CURRENT_LIST_DIR}/include/argparse.hpp
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/argparse)
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/argparse)

0 comments on commit 483e9f2

Please sign in to comment.