Allow compiling for static linking
This commit is contained in:
parent
8e9ed24426
commit
3f2c6feacb
3 changed files with 11 additions and 10 deletions
|
|
@ -209,9 +209,9 @@ endif()
|
|||
# Process subdirectories
|
||||
################################################################################
|
||||
add_subdirectory(libraries)
|
||||
add_subdirectory(misc)
|
||||
add_subdirectory(utilities)
|
||||
add_subdirectory(common)
|
||||
#add_subdirectory(misc)
|
||||
#add_subdirectory(utilities)
|
||||
#add_subdirectory(common)
|
||||
|
||||
################################################################################
|
||||
# Create uninstall target
|
||||
|
|
|
|||
|
|
@ -2,10 +2,10 @@ cmake_minimum_required(VERSION 3.5)
|
|||
add_subdirectory(libbladeRF)
|
||||
|
||||
# Conditionally add the test directory
|
||||
option(TEST_LIBBLADERF "Enables libbladeRF test output" ON)
|
||||
if(TEST_LIBBLADERF)
|
||||
message(STATUS "libbladeRF_test: enabled")
|
||||
add_subdirectory(libbladeRF_test)
|
||||
else()
|
||||
message(STATUS "libbladeRF_test: disabled")
|
||||
endif()
|
||||
# option(TEST_LIBBLADERF "Enables libbladeRF test output" ON)
|
||||
# if(TEST_LIBBLADERF)
|
||||
# message(STATUS "libbladeRF_test: enabled")
|
||||
# add_subdirectory(libbladeRF_test)
|
||||
# else()
|
||||
# message(STATUS "libbladeRF_test: disabled")
|
||||
# endif()
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ project(bladeRF-power LANGUAGES C)
|
|||
|
||||
set (CURSES_NEED_NCURSES TRUE)
|
||||
set (CURSES_NEED_WIDE TRUE)
|
||||
set (CMAKE_PREFIX_PATH /opt/homebrew/opt/ncurses)
|
||||
find_package(Curses REQUIRED)
|
||||
|
||||
include_directories(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue