Skip to content

Commit

Permalink
Skip Position Independent Code for PSP/PS3
Browse files Browse the repository at this point in the history
  • Loading branch information
humbertodias authored and jbeder committed Feb 22, 2024
1 parent 4afd53b commit 5c1bbbd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5c1bbbd

Please sign in to comment.