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-cmake-builder
Commits
ee1ee79a
Commit
ee1ee79a
authored
Nov 04, 2015
by
Ghislain MARY
Browse files
Fix options inclusion when the CMAKE_SOURCE_DIR is not the topdir of linphone-cmake-builder.
parent
f73ad16a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
builders/CMakeLists.txt
builders/CMakeLists.txt
+3
-3
No files found.
builders/CMakeLists.txt
View file @
ee1ee79a
...
...
@@ -51,10 +51,10 @@ else()
# Include builder options definitions according to the targets to be built
include
(
CMakeDependentOption
)
include
(
FeatureSummary
)
include
(
${
CMAKE_
SOURCE
_DIR
}
/options/common.cmake
)
include
(
${
CMAKE_
CURRENT_LIST
_DIR
}
/
../
options/common.cmake
)
foreach
(
_target
${
LINPHONE_BUILDER_TARGETS
}
)
if
(
EXISTS
${
CMAKE_
SOURCE
_DIR
}
/options/
${
_target
}
.cmake
)
include
(
${
CMAKE_
SOURCE
_DIR
}
/options/
${
_target
}
.cmake
)
if
(
EXISTS
${
CMAKE_
CURRENT_LIST
_DIR
}
/
../
options/
${
_target
}
.cmake
)
include
(
${
CMAKE_
CURRENT_LIST
_DIR
}
/
../
options/
${
_target
}
.cmake
)
endif
()
endforeach
()
...
...
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