This commit is contained in:
Lubos Dolezel 2020-03-31 15:19:07 +02:00
parent 8ba30d6478
commit 34147e8243
3 changed files with 9 additions and 10 deletions

View File

@ -20,7 +20,7 @@ SET(CMAKE_SKIP_RPATH TRUE)
project(darling)
cmake_minimum_required(VERSION 2.8)
cmake_minimum_required(VERSION 3.10)
enable_language(ASM)
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")

View File

@ -3,7 +3,6 @@ project(darling-src)
unset(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES)
unset(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES)
cmake_minimum_required(VERSION 3.12.0)
cmake_policy(SET CMP0005 NEW)
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")

View File

@ -40,16 +40,16 @@ set(sources
add_library(AudioFileTools_util OBJECT ${sources})
add_darling_executable(afplay afplay.cpp)
target_link_libraries(afplay AudioFileTools_util system AudioToolbox cxx CoreServices CoreAudio)
add_darling_executable(afplay afplay.cpp $<TARGET_OBJECTS:AudioFileTools_util>)
target_link_libraries(afplay system AudioToolbox cxx CoreServices CoreAudio)
add_darling_executable(afrecord afrecord.cpp)
target_link_libraries(afrecord AudioFileTools_util system AudioToolbox cxx CoreServices CoreAudio)
add_darling_executable(afrecord afrecord.cpp $<TARGET_OBJECTS:AudioFileTools_util>)
target_link_libraries(afrecord system AudioToolbox cxx CoreServices CoreAudio)
add_darling_executable(afinfo afinfo.cpp)
target_link_libraries(afinfo AudioFileTools_util system AudioToolbox cxx CoreServices CoreAudio)
add_darling_executable(afinfo afinfo.cpp $<TARGET_OBJECTS:AudioFileTools_util>)
target_link_libraries(afinfo system AudioToolbox cxx CoreServices CoreAudio)
add_darling_executable(afconvert afconvert.cpp afconvert_main.cpp)
target_link_libraries(afconvert AudioFileTools_util system AudioToolbox cxx CoreServices CoreAudio)
add_darling_executable(afconvert afconvert.cpp afconvert_main.cpp $<TARGET_OBJECTS:AudioFileTools_util>)
target_link_libraries(afconvert system AudioToolbox cxx CoreServices CoreAudio)
install(TARGETS afplay afrecord afinfo afconvert DESTINATION libexec/darling/usr/bin)