Browse Source

Try to fix the Android build

Panagiotis Christopoulos Charitos 3 years ago
parent
commit
cc72a64c20
1 changed files with 5 additions and 2 deletions
  1. 5 2
      AnKi/Util/CMakeLists.txt

+ 5 - 2
AnKi/Util/CMakeLists.txt

@@ -15,8 +15,7 @@ set(sources
 	Tracer.cpp
 	Tracer.cpp
 	Serializer.cpp
 	Serializer.cpp
 	Xml.cpp
 	Xml.cpp
-	F16.cpp
-	Process.cpp)
+	F16.cpp)
 
 
 if(LINUX OR ANDROID OR MACOS)
 if(LINUX OR ANDROID OR MACOS)
 	set(sources ${sources}
 	set(sources ${sources}
@@ -37,6 +36,10 @@ elseif(WINDOWS)
 	set(sources ${sources} INotifyWindows.cpp)
 	set(sources ${sources} INotifyWindows.cpp)
 endif()
 endif()
 
 
+if(LINUX OR WINDOWS)
+	set(sources ${sources} Process.cpp)
+endif()
+
 file(GLOB_RECURSE headers *.h)
 file(GLOB_RECURSE headers *.h)
 
 
 add_library(AnKiUtil ${sources} ${headers})
 add_library(AnKiUtil ${sources} ${headers})