mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-04-19 06:30:46 -04:00
Split module-utils into smaller components for better dependency management. Fix many dependencies throughout the project. Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
21 lines
502 B
CMake
21 lines
502 B
CMake
set(PROJECT_TARGET "TARGET_Linux" CACHE INTERNAL "")
|
|
|
|
add_compile_options(-funsigned-char)
|
|
|
|
set(TARGET_LIBRARIES
|
|
rt
|
|
pthread
|
|
portaudio
|
|
CACHE INTERNAL "" )
|
|
|
|
link_libraries(pthread rt)
|
|
|
|
option (LINUX_ENABLE_SANITIZER "Enable address sanitizer for Linux" ON)
|
|
if (LINUX_ENABLE_SANITIZER)
|
|
add_compile_options(-fsanitize=address)
|
|
add_link_options(-fsanitize=address)
|
|
endif (LINUX_ENABLE_SANITIZER)
|
|
|
|
set(CMAKE_STRIP strip CACHE INTERNAL "")
|
|
set(CMAKE_OBJCOPY objcopy CACHE INTERNAL "")
|