diff options
author | Andrii Kalinich (GitHub) <AKalinich@luxoft.com> | 2021-07-22 09:55:14 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-22 09:55:14 -0400 |
commit | 82476469248d60d00f785e0dbd066369db1ffbf0 (patch) | |
tree | c030ee3188b6f75713151d1d3a2d63d3b460e78d /src | |
parent | 716cfac5e19673daf6a77e3eb17472fd74201019 (diff) | |
download | sdl_core-82476469248d60d00f785e0dbd066369db1ffbf0.tar.gz |
Fix cmake warning under external flow (#3730)
* Established the new policy for CMP0054 and added if and else for different Policy values
Diffstat (limited to 'src')
-rw-r--r-- | src/components/policy/policy_external/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/policy/policy_external/CMakeLists.txt b/src/components/policy/policy_external/CMakeLists.txt index 72f7dd7bdb..0e3735093f 100644 --- a/src/components/policy/policy_external/CMakeLists.txt +++ b/src/components/policy/policy_external/CMakeLists.txt @@ -132,7 +132,7 @@ if (ENABLE_LOG AND ${LOGGER_NAME} STREQUAL "LOG4CXX") target_link_libraries(Policy log4cxx -L${LOG4CXX_LIBS_DIRECTORY}) endif() -add_custom_target(copy_library_Policy ALL +add_custom_target(copy_policy_library ALL COMMAND ${CMAKE_COMMAND} -E copy_if_different ${CMAKE_CURRENT_BINARY_DIR}/${library_name} ${copy_destination} |