2015-07-30 06:09:37 +00:00
|
|
|
set(YAML_VERSION_MAJOR 0)
|
|
|
|
set(YAML_VERSION_MINOR 1)
|
|
|
|
set(YAML_VERSION_PATCH 6)
|
|
|
|
set(YAML_VERSION_STRING "${YAML_VERSION_MAJOR}.${YAML_VERSION_MINOR}.${YAML_VERSION_PATCH}")
|
|
|
|
|
|
|
|
file(GLOB SRC src/*.c)
|
|
|
|
|
|
|
|
include_directories(include win32)
|
2015-08-08 23:25:18 +00:00
|
|
|
add_library(AthenaLibYaml STATIC ${SRC} include/yaml.h)
|
2015-07-30 06:09:37 +00:00
|
|
|
|
|
|
|
set(YAML_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/include CACHE PATH "YAML include path" FORCE)
|
2015-08-30 05:07:00 +00:00
|
|
|
#install(DIRECTORY include/ DESTINATION include/Athena COMPONENT yaml)
|
2015-08-08 23:25:18 +00:00
|
|
|
install(TARGETS AthenaLibYaml DESTINATION lib COMPONENT yaml)
|