Compare commits

...

1 Commits

Author SHA1 Message Date
2ee179c6b1 - attempt to build PIC code by default 2025-09-14 08:01:42 +03:00

View File

@@ -24,6 +24,8 @@ option(YAML_CPP_BUILD_TESTS "Enable yaml-cpp tests"
option(YAML_CPP_INSTALL "Enable generation of yaml-cpp install targets" OFF)
option(YAML_MSVC_SHARED_RT "MSVC: Build yaml-cpp with shared runtime libs (/MD)" OFF)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
set(yaml-cpp-type STATIC)
set(yaml-cpp-label-postfix "static")
if (YAML_BUILD_SHARED_LIBS)