mirror of
https://github.com/KeqingMoe/argparse.git
synced 2025-07-04 15:14:39 +00:00
Merge pull request #20 from Bnmann/dev-bnmann-fix-cmake-export
Fix invalid cmake export configuration
This commit is contained in:
commit
b95765f53d
@ -10,7 +10,7 @@ add_library(argparse::argparse ALIAS argparse)
|
|||||||
target_compile_features(argparse INTERFACE cxx_std_17)
|
target_compile_features(argparse INTERFACE cxx_std_17)
|
||||||
target_include_directories(argparse INTERFACE
|
target_include_directories(argparse INTERFACE
|
||||||
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
|
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
|
||||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}>/include)
|
$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/include>)
|
||||||
|
|
||||||
if(ARGPARSE_BUILD_TESTS)
|
if(ARGPARSE_BUILD_TESTS)
|
||||||
add_subdirectory(test)
|
add_subdirectory(test)
|
||||||
|
Loading…
Reference in New Issue
Block a user