2
0
Panagiotis Christopoulos Charitos 3 жил өмнө
parent
commit
6dc1d514a9
1 өөрчлөгдсөн 5 нэмэгдсэн , 1 устгасан
  1. 5 1
      CMakeLists.txt

+ 5 - 1
CMakeLists.txt

@@ -388,7 +388,11 @@ if(ANDROID)
 endif()
 endif()
 
 
 if(LINUX)
 if(LINUX)
-	set(THIRD_PARTY_LIBS ${THIRD_PARTY_LIBS} X11-xcb pthread dl)
+	set(THIRD_PARTY_LIBS ${THIRD_PARTY_LIBS} pthread dl)
+
+	if(SDL)
+		set(THIRD_PARTY_LIBS ${THIRD_PARTY_LIBS} X11-xcb)
+	endif()
 endif()
 endif()
 
 
 # AnKi compiler flags (Mainly warnings)
 # AnKi compiler flags (Mainly warnings)