@@ -83,9 +83,11 @@ IF(RESET_INSTALL_PREFIX)
8383 ENDIF (NOT $ENV{FS2PATH} STREQUAL "" )
8484ENDIF (RESET_INSTALL_PREFIX )
8585
86- IF (WIN32 OR APPLE OR ANDROID )
86+ IF (WIN32 OR APPLE OR CMAKE_SYSTEM_NAME STREQUAL "Linux" )
8787 OPTION (FSO_USE_SPEECH "Use text-to-speach libraries" ON )
88- ENDIF (WIN32 OR APPLE OR ANDROID )
88+ ELSE ()
89+ OPTION (FSO_USE_SPEECH "Use text-to-speach libraries" OFF )
90+ ENDIF ()
8991
9092IF (WIN32 )
9193 OPTION (FSO_USE_VOICEREC "Enable voice recognition support" ON )
@@ -134,7 +136,7 @@ OPTION(FSO_BUILD_WITH_DISCORD "Build with Discord support" ON)
134136
135137OPTION (FSO_BUILD_WITH_OPENGL "Enable compilation of the OpenGL renderer" ON )
136138OPTION (FSO_BUILD_WITH_OPENGL_DEBUG "Enables debug option for OpenGL" OFF )
137- OPTION (FSO_BUILD_WITH_OPENGL_ES "When building OpenGL, use OpenGL ES path instead of core (for testing only!)" OFF )
139+ OPTION (FSO_BUILD_WITH_OPENGL_ES "When building OpenGL, use OpenGL ES compatibility layer (External shaders only!)" OFF )
138140
139141OPTION (FSO_BUILD_WITH_VULKAN "Enable compilation of the Vulkan renderer" OFF )
140142
@@ -145,6 +147,10 @@ endif()
145147
146148if (FSO_BUILD_WITH_OPENGL_ES)
147149 add_definitions (-DUSE_OPENGL_ES )
150+ IF (FSO_BUILD_WITH_OPENXR)
151+ MESSAGE (WARNING "FSO_BUILD_WITH_OPENXR is ON. But not supported on OpenGL ES for now - setting to OFF." )
152+ SET (FSO_BUILD_WITH_OPENXR OFF CACHE BOOL "" FORCE )
153+ endif ()
148154endif ()
149155
150156IF (NOT APPLE AND NOT FSO_BUILD_WITH_OPENGL_ES)
@@ -190,7 +196,8 @@ SET(GENERATED_SOURCE_DIR ${CMAKE_CURRENT_BINARY_DIR}/generated_source)
190196include (generateHeaders )
191197
192198if (FSO_BUILD_APPIMAGE)
193- include (appimage )
199+ SET (BINARY_DESTINATION "bin" )
200+ SET (LIBRAY_DESTINATION "lib" )
194201endif ()
195202
196203include (clang-tidy )
@@ -246,9 +253,7 @@ include(package)
246253include (doxygen )
247254
248255# Print used options to log
249- IF (WIN32 OR APPLE OR ANDROID )
250- message (STATUS "Using text to speech: ${FSO_USE_SPEECH} " )
251- ENDIF ()
256+ message (STATUS "Using text to speech: ${FSO_USE_SPEECH} " )
252257IF (WIN32 )
253258 message (STATUS "Using voice recogition: ${FSO_USE_VOICEREC} " )
254259 message (STATUS "Building FRED2: ${FSO_BUILD_FRED2} " )
0 commit comments