Commit ade7e7cd authored by jbeder's avatar jbeder
Browse files

Patched - install target

parent b4449135
cmake_minimum_required(VERSION 2.6)
project (YAML_CPP)
set(LIBRARY_OUTPUT_PATH ${YAML_CPP_SOURCE_DIR}/lib)
set(LIBRARY_OUTPUT_PATH lib${LIB_SUFFIX})
set(LIB_INSTALL_DIR lib${LIB_SUFFIX})
set(INCLUDE_INSTALL_DIR include/yaml-cpp)
file(GLOB public_headers include/*.h)
file(GLOB private_headers src/*.h)
......@@ -14,5 +16,15 @@ add_library(yaml-cpp
${sources}
)
install(
TARGETS yaml-cpp
LIBRARY ARCHIVE
DESTINATION ${LIB_INSTALL_DIR}
)
install(
FILES ${public_headers}
DESTINATION ${INCLUDE_INSTALL_DIR}
)
add_subdirectory (yaml-reader)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment