Skip Position Independent Code for PSP/PS3

This commit is contained in:
Humberto Dias
2024-02-21 13:19:22 -03:00
committed by Jesse Beder
parent 4afd53b0d3
commit 5c1bbbd276

View File

@@ -91,7 +91,9 @@ set_property(TARGET yaml-cpp
CXX_STANDARD_REQUIRED ON)
if (NOT YAML_BUILD_SHARED_LIBS)
set_property(TARGET yaml-cpp PROPERTY POSITION_INDEPENDENT_CODE ON)
if (NOT PSP AND NOT PS3)
set_property(TARGET yaml-cpp PROPERTY POSITION_INDEPENDENT_CODE ON)
endif()
endif()
target_include_directories(yaml-cpp