mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
20 lines
559 B
CMake
20 lines
559 B
CMake
|
|
||
|
# Define the current source locations
|
||
|
SET(CURRENT_HEADER_DIR ${CMAKE_SOURCE_DIR}/include/utils)
|
||
|
SET(CURRENT_SOURCE_DIR ${CMAKE_SOURCE_DIR}/libsrc/utils)
|
||
|
|
||
|
add_library(hyperion-utils
|
||
|
${CURRENT_HEADER_DIR}/RgbColor.h
|
||
|
${CURRENT_HEADER_DIR}/RgbImage.h
|
||
|
|
||
|
${CURRENT_SOURCE_DIR}/RgbColor.cpp
|
||
|
${CURRENT_SOURCE_DIR}/RgbImage.cpp
|
||
|
|
||
|
${CURRENT_HEADER_DIR}/jsonschema/JsonFactory.h
|
||
|
${CURRENT_HEADER_DIR}/jsonschema/JsonSchemaChecker.h
|
||
|
${CURRENT_SOURCE_DIR}/jsonschema/JsonSchemaChecker.cpp
|
||
|
)
|
||
|
|
||
|
target_link_libraries(hyperion-utils
|
||
|
jsoncpp)
|