Clean up build system
This commit is contained in:
Vendored
+3
-4
@@ -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})
|
||||
|
||||
|
||||
Vendored
+3
-3
@@ -1,9 +1,9 @@
|
||||
list(APPEND MINIZ_SRC "miniz/miniz.c")
|
||||
list(APPEND MINIZ_HPP "miniz/miniz.h")
|
||||
set(MINIZ_SRC "miniz/miniz.c")
|
||||
set(MINIZ_HPP "miniz/miniz.h")
|
||||
|
||||
source_group("" FILES ${MINIZ_SRC} ${MINIZ_HPP})
|
||||
|
||||
add_library("miniz" ${MINIZ_SRC} ${MINIZ_HPP})
|
||||
add_library("miniz" STATIC ${MINIZ_SRC} ${MINIZ_HPP})
|
||||
|
||||
set_property(TARGET "miniz" PROPERTY FOLDER "External Libraries")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user