mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-24 05:00:45 -04:00
cmake: library: Remove unnecessary link_to_source
If we do not generate error.c, version_features.c, ... then they are supposed to be in the source tree. The CMake build get them from here and there is no need for a symbolic link or a copy in the build tree. Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
parent
f0daff971b
commit
0d9b00d483
@ -187,13 +187,6 @@ if(GEN_FILES)
|
|||||||
${CMAKE_CURRENT_SOURCE_DIR}/../scripts/data_files/driver_templates/psa_crypto_driver_wrappers.h.jinja
|
${CMAKE_CURRENT_SOURCE_DIR}/../scripts/data_files/driver_templates/psa_crypto_driver_wrappers.h.jinja
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/../scripts/data_files/driver_templates/psa_crypto_driver_wrappers_no_static.c.jinja
|
${CMAKE_CURRENT_SOURCE_DIR}/../scripts/data_files/driver_templates/psa_crypto_driver_wrappers_no_static.c.jinja
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
else()
|
|
||||||
link_to_source(error.c)
|
|
||||||
link_to_source(version_features.c)
|
|
||||||
link_to_source(ssl_debug_helpers_generated.c)
|
|
||||||
link_to_source(psa_crypto_driver_wrappers_no_static.c)
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(CMAKE_COMPILER_IS_GNUCC)
|
if(CMAKE_COMPILER_IS_GNUCC)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user