diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 7656becf9..4515a14e1 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -56,7 +56,8 @@ target_link_libraries (task_executable task tc tc-rust commands tc columns libsh target_link_libraries (calc_executable task tc tc-rust commands tc columns libshared task libshared ${TASK_LIBRARIES}) target_link_libraries (lex_executable task tc tc-rust commands tc columns libshared task libshared ${TASK_LIBRARIES}) if (DARWIN) - target_link_libraries (task_executable "-framework CoreFoundation -framework Security") + # SystemConfiguration is required by Rust libraries like reqwest, to get proxy configuration. + target_link_libraries (task_executable "-framework CoreFoundation -framework Security -framework SystemConfiguration") target_link_libraries (calc_executable "-framework CoreFoundation -framework Security") target_link_libraries (lex_executable "-framework CoreFoundation -framework Security") endif (DARWIN) @@ -71,4 +72,4 @@ set_property (TARGET lex_executable PROPERTY OUTPUT_NAME "lex") #SET(CMAKE_BUILD_TYPE gcov) #SET(CMAKE_CXX_FLAGS_GCOV "--coverage") #SET(CMAKE_C_FLAGS_GCOV "--coverage") -#SET(CMAKE_EXE_LINKER_FLAGS_GCOV "--coverage") \ No newline at end of file +#SET(CMAKE_EXE_LINKER_FLAGS_GCOV "--coverage")