Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
FORMUS3IC_LAS3
/
embb
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
af74a4d9
authored
Oct 09, 2014
by
Christian Kern
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix CMake "Policy CMP0026 is not set" Warning, when using CMake > 3.0.2.
Set TARGETs the clean way, using generators....
parent
9ff0f8d9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
3 deletions
+1
-3
CMakeCommon/CopyInstallFiles.cmake
+1
-3
No files found.
CMakeCommon/CopyInstallFiles.cmake
View file @
af74a4d9
...
@@ -28,12 +28,10 @@ function(CopyBin
...
@@ -28,12 +28,10 @@ function(CopyBin
BIN bin
BIN bin
DEST destination
DEST destination
)
)
get_target_property
(
bin_full_name
${
bin
}
LOCATION
)
add_custom_command
(
add_custom_command
(
TARGET
${
bin
}
TARGET
${
bin
}
POST_BUILD
POST_BUILD
COMMAND
${
CMAKE_COMMAND
}
-E copy
${
bin_full_name
}
${
destination
}
COMMAND
${
CMAKE_COMMAND
}
-E copy $<TARGET_FILE:
${
bin
}
>
${
destination
}
#COMMENT "Copying ${bin} to ${destination}"
)
)
endfunction
()
endfunction
()
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