Allow enabling JSON export of tageditor
This commit is contained in:
parent
564b3a624a
commit
e903e29fd3
|
@ -16,6 +16,13 @@ if(WIDGETS_GUI OR QUICK_GUI)
|
||||||
link_directories(${QT_UTILITIES_BINARY_DIR})
|
link_directories(${QT_UTILITIES_BINARY_DIR})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
option(ENABLE_JSON_EXPORT "enable JSON export" OFF)
|
||||||
|
if(ENABLE_JSON_EXPORT)
|
||||||
|
add_subdirectory(${SUBDIRS_PREFIX}/reflective-rapidjson reflective-rapidjson)
|
||||||
|
list(APPEND CMAKE_MODULE_PATH ${REFLECTIVE_RAPIDJSON_SOURCE_DIR}/cmake/modules)
|
||||||
|
link_directories(${REFLECTIVE_RAPIDJSON_BINARY_DIR})
|
||||||
|
endif()
|
||||||
|
|
||||||
add_subdirectory(${SUBDIRS_PREFIX}/tagparser tagparser)
|
add_subdirectory(${SUBDIRS_PREFIX}/tagparser tagparser)
|
||||||
link_directories(${TAG_PARSER_BINARY_DIR})
|
link_directories(${TAG_PARSER_BINARY_DIR})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue