aboutsummaryrefslogtreecommitdiff
path: root/games/libretro-play/files/patch-Source_CMakeLists.txt
blob: bef336859573e67ce1bcc89594160a831484c09c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- Source/CMakeLists.txt.orig	2020-10-19 21:24:20 UTC
+++ Source/CMakeLists.txt
@@ -34,7 +34,7 @@ if(TARGET_PLATFORM_ANDROID OR TARGET_PLATFORM_IOS OR B
 	list(APPEND DEFINITIONS_LIST DISABLE_LOGGING=1)
 endif()
 
-if(TARGET_PLATFORM_UNIX AND NOT TARGET_PLATFORM_UNIX_AARCH64)
+if(TARGET_PLATFORM_UNIX AND NOT TARGET_PLATFORM_UNIX_AARCH64 AND NOT TARGET_PLATFORM_UNIX_POWERPC64)
 	set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -msse -msse2")
 endif()
 
@@ -450,7 +450,7 @@ target_include_directories(PlayCore
 target_compile_definitions(PlayCore PUBLIC ${DEFINITIONS_LIST})
 if(NOT ANDROID)
 	if(THREADS_HAVE_PTHREAD_ARG)
-		target_compile_options(PUBLIC PlayCore "-pthread")
+		add_compile_options( PlayCore "-pthread")
 	endif()
 endif()