Skip to content

Commit 5c1bbbd

Browse files
humbertodiasjbeder
authored andcommitted
Skip Position Independent Code for PSP/PS3
1 parent 4afd53b commit 5c1bbbd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,9 @@ set_property(TARGET yaml-cpp
9191
CXX_STANDARD_REQUIRED ON)
9292

9393
if (NOT YAML_BUILD_SHARED_LIBS)
94-
set_property(TARGET yaml-cpp PROPERTY POSITION_INDEPENDENT_CODE ON)
94+
if (NOT PSP AND NOT PS3)
95+
set_property(TARGET yaml-cpp PROPERTY POSITION_INDEPENDENT_CODE ON)
96+
endif()
9597
endif()
9698

9799
target_include_directories(yaml-cpp

0 commit comments

Comments
 (0)