mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2024-11-10 04:37:37 +01:00
Merge pull request #708 from hb9fxq/patch-1
Allow user defined CMAKE_INSTALL_PREFIX
This commit is contained in:
commit
fb10d0f917
@ -1,10 +1,12 @@
|
|||||||
cmake_minimum_required(VERSION 3.13)
|
cmake_minimum_required(VERSION 3.13)
|
||||||
project(sdrpp)
|
project(sdrpp)
|
||||||
|
|
||||||
if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
if (CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
|
||||||
set(CMAKE_INSTALL_PREFIX "/usr/local")
|
if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||||
else()
|
set(CMAKE_INSTALL_PREFIX "/usr/local")
|
||||||
set(CMAKE_INSTALL_PREFIX "/usr")
|
else()
|
||||||
|
set(CMAKE_INSTALL_PREFIX "/usr")
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Configure toolchain for android
|
# Configure toolchain for android
|
||||||
|
Loading…
Reference in New Issue
Block a user