mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-18 05:00:48 +01:00
cmake: Fix accidental version dependency break (issue #2293)
This commit is contained in:
parent
28f27be9ca
commit
858eae3fe5
@ -102,8 +102,8 @@ macro(COPY_FILES target file_list source_dir target_dir)
|
|||||||
get_filename_component(target_name ${FILENAME} NAME)
|
get_filename_component(target_name ${FILENAME} NAME)
|
||||||
set(target_file ${target_dir}/${target_name})
|
set(target_file ${target_dir}/${target_name})
|
||||||
|
|
||||||
string(FIND ${source_file} "$<CONFIGURATION>" pos)
|
string(FIND ${source_file} "$<CONFIGURATION>" _pos)
|
||||||
if(pos GREATER_EQUAL 0)
|
if(NOT ${_pos} EQUAL -1)
|
||||||
# Must test with an actual configuration directory.
|
# Must test with an actual configuration directory.
|
||||||
string(REPLACE "$<CONFIGURATION>" "Release" existing_source_file ${source_file})
|
string(REPLACE "$<CONFIGURATION>" "Release" existing_source_file ${source_file})
|
||||||
if(NOT EXISTS ${existing_source_file})
|
if(NOT EXISTS ${existing_source_file})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user