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

View File

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