Clean up build system

This commit is contained in:
Martin Natano
2022-05-30 23:57:33 +02:00
parent 7d29ee308d
commit 2bb9124c72
6 changed files with 25 additions and 81 deletions
+3 -4
View File
@@ -2,11 +2,10 @@ if(WITH_SYSTEM_JSONCPP)
find_package(PkgConfig REQUIRED)
pkg_check_modules(JSONCPP REQUIRED jsoncpp)
else()
list(APPEND JSON_SRC "jsoncpp/jsoncpp.cpp")
set(JSON_SRC "jsoncpp/jsoncpp.cpp")
list(APPEND JSON_HPP
"jsoncpp/json/json-forwards.h"
"jsoncpp/json/json.h")
set(JSON_HPP "jsoncpp/json/json-forwards.h"
"jsoncpp/json/json.h")
source_group("" FILES ${JSON_SRC} ${JSON_HPP})