From bedd66d1612bc24353baabf59e16bb06874701e0 Mon Sep 17 00:00:00 2001 From: TheAssassin Date: Wed, 7 Nov 2018 22:46:26 +0100 Subject: [PATCH] INI parser now contains a CMake script --- lib/CMakeLists.txt | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index ba4ccf3..1e2d58c 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -9,15 +9,7 @@ add_library(args INTERFACE) target_sources(args INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/args/args.hxx) target_include_directories(args INTERFACE args) -add_library(cpp-feather-ini-parser INTERFACE) -target_sources(cpp-feather-ini-parser INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/cpp-feather-ini-parser/INI.h) -target_include_directories(cpp-feather-ini-parser INTERFACE cpp-feather-ini-parser) - -if(BUILD_TESTING) - add_executable(test_cpp_feather_ini_parser ${CMAKE_CURRENT_SOURCE_DIR}/cpp-feather-ini-parser/example/example.cpp) - target_link_libraries(test_cpp_feather_ini_parser PRIVATE cpp-feather-ini-parser) - add_test(test_cpp_feather_ini_parser test_cpp_feather_ini_parser) -endif() +add_subdirectory(cpp-feather-ini-parser) if(NOT USE_SYSTEM_BOOST) add_library(boost_config INTERFACE)