Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
linphone-desktop
Commits
91dc50d0
Commit
91dc50d0
authored
May 31, 2017
by
Ronan
Browse files
fix(CMakeLists.txt): define correctly optional include
parent
8fc9b5b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
linphone-desktop/CMakeLists.txt
linphone-desktop/CMakeLists.txt
+1
-1
No files found.
linphone-desktop/CMakeLists.txt
View file @
91dc50d0
...
...
@@ -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
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment