This commit is contained in:
AlexandreRouma 2022-11-21 22:37:31 +01:00
commit bd947c2669

View File

@ -1,11 +1,13 @@
cmake_minimum_required(VERSION 3.13) cmake_minimum_required(VERSION 3.13)
project(sdrpp) project(sdrpp)
if (CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin") if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
set(CMAKE_INSTALL_PREFIX "/usr/local") set(CMAKE_INSTALL_PREFIX "/usr/local")
else() else()
set(CMAKE_INSTALL_PREFIX "/usr") set(CMAKE_INSTALL_PREFIX "/usr")
endif() endif()
endif()
# Configure toolchain for android # Configure toolchain for android
if (ANDROID) if (ANDROID)