Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
CMake
CMake
Commits
ffe93315
Commit
ffe93315
authored
Jan 11, 2013
by
Brad King
Committed by
Kitware Robot
Jan 11, 2013
Browse files
Options
Browse Files
Download
Plain Diff
Merge topic 'fix-imported-lib-linking-test'
93034a83
Fix linking to imported libraries test.
parents
59290866
93034a83
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
Tests/ExportImport/Import/A/CMakeLists.txt
Tests/ExportImport/Import/A/CMakeLists.txt
+2
-2
Tests/ExportImport/Import/A/deps_iface.c
Tests/ExportImport/Import/A/deps_iface.c
+1
-1
No files found.
Tests/ExportImport/Import/A/CMakeLists.txt
View file @
ffe93315
...
...
@@ -157,8 +157,8 @@ endif()
# Test that dependent imported targets have usable
# INTERFACE_COMPILE_DEFINITIONS and INTERFACE_INCLUDE_DIRECTORIES
add_
library
(
deps_iface deps_iface.c
pp
)
target_link_libraries
(
deps_iface testLib
s
Depends
)
add_
executable
(
deps_iface deps_iface.c
)
target_link_libraries
(
deps_iface testLibDepends
)
set_property
(
TARGET deps_iface APPEND PROPERTY
COMPILE_DEFINITIONS
$<TARGET_PROPERTY:testLibDepends,INTERFACE_COMPILE_DEFINITIONS>
...
...
Tests/ExportImport/Import/A/deps_iface.c
pp
→
Tests/ExportImport/Import/A/deps_iface.c
View file @
ffe93315
...
...
@@ -18,7 +18,7 @@
extern
int
testLibDepends
(
void
);
int
main
(
int
,
char
**
)
int
main
()
{
return
testLibDepends
();
}
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