Skip to content
Snippets Groups Projects
Commit bce9608735e9 authored by Matt Davis's avatar Matt Davis
Browse files

Merge pull request #136 from nitzmahone/win_fixes

allow override of Windows static lib name
Branches
No related tags found
No related merge requests found
......@@ -8,6 +8,7 @@
set (YAML_VERSION_STRING "${YAML_VERSION_MAJOR}.${YAML_VERSION_MINOR}.${YAML_VERSION_PATCH}")
option(BUILD_SHARED_LIBS "Build libyaml as a shared library" OFF)
option(YAML_STATIC_LIB_NAME "base name of static library output" yaml)
#
# Output directories for a build tree
......@@ -56,7 +57,7 @@
if(NOT BUILD_SHARED_LIBS)
set_target_properties(yaml
PROPERTIES OUTPUT_NAME yaml_static
PROPERTIES OUTPUT_NAME ${YAML_STATIC_LIB_NAME}
)
endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment