From 91dc50d02329dc55f7969173be22309d62f652e1 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Wed, 31 May 2017 11:00:56 +0200 Subject: [PATCH] fix(CMakeLists.txt): define correctly optional include --- linphone-desktop/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linphone-desktop/CMakeLists.txt b/linphone-desktop/CMakeLists.txt index 0b83023ed..9d0ad170b 100644 --- a/linphone-desktop/CMakeLists.txt +++ b/linphone-desktop/CMakeLists.txt @@ -300,7 +300,7 @@ foreach (package ${QT5_PACKAGES_OPTIONAL}) target_link_libraries(${TARGET_NAME} ${Qt5${package}_LIBRARIES}) string(TOUPPER "${package}" INCLUDE_NAME) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_${INCLUDE_NAME}_ENABLED") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D${INCLUDE_NAME}_ENABLED") else () message("Optional package ${package} not found.") endif ()