From 6c6fb620291d2c50dc083e33739ed8a826faf478 Mon Sep 17 00:00:00 2001 From: Bernhard Miklautz Date: Sun, 11 Jan 2015 19:29:50 +0100 Subject: [PATCH] mfreerdp: fix build with latest cmake Newer versions of cmake seem to use CMAKE_C_FLAGS for objective-c. Now both flags are set for compatibility. (cherry picked from commit 9ab95adf0dc97484106c52aa666e47cdac0363f4) --- client/Mac/cli/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/client/Mac/cli/CMakeLists.txt b/client/Mac/cli/CMakeLists.txt index 46643227d..47afe3716 100644 --- a/client/Mac/cli/CMakeLists.txt +++ b/client/Mac/cli/CMakeLists.txt @@ -67,6 +67,7 @@ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fobjc-nonfragile-abi") # Tell the compiler where to look for the FreeRDP framework set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -F../") +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -F../") # Tell XCode where to look for the MacFreeRDP framework set_target_properties(${MODULE_NAME} PROPERTIES XCODE_ATTRIBUTE_FRAMEWORK_SEARCH_PATHS