File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ option(RTOSC_WERROR "Compile with warnings being treated as errors" OFF)
5959set (BUILD_RTOSC_EXAMPLES FALSE CACHE BOOL
6060 "Build RTOSC Example Programs" )
6161
62- if (CMAKE_SYSTEM_NAME MATCHES "Linux" )
62+ if (CMAKE_SYSTEM_NAME MATCHES "Linux" OR CMAKE_SYSTEM_NAME MATCHES "Android" )
6363 include (GNUInstallDirs)
6464endif ()
6565
@@ -286,7 +286,7 @@ if(DOXYGEN_FOUND)
286286endif ()
287287
288288#Installation
289- if (CMAKE_SYSTEM_NAME MATCHES "Linux" AND NOT DEFINED RTOSC_NO_INSTALL)
289+ if (( CMAKE_SYSTEM_NAME MATCHES "Linux" OR CMAKE_SYSTEM_NAME MATCHES "Android" ) AND NOT DEFINED RTOSC_NO_INSTALL)
290290 if (PKG_CONFIG_FOUND)
291291 configure_file (librtosc.pc.cmake
292292 ${CMAKE_CURRENT_BINARY_DIR} /librtosc.pc @ONLY)
You can’t perform that action at this time.
0 commit comments