Skip to content
This repository was archived by the owner on Jan 15, 2021. It is now read-only.

Commit fa06636

Browse files
committed
Merge pull request #242 from autopulated/fix-239
set ENABLE_EXPORTS on executables so that tests work
2 parents f52cd2c + 3db93a6 commit fa06636

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

yotta/lib/templates/subdir_CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ add_executable ({{ object_name }}
2929
${YOTTA_AUTO_{{ object_name | upper }}_RESOURCE_FILES}
3030
{% endif %}
3131
)
32+
set_target_properties({{ object_name }} PROPERTIES ENABLE_EXPORTS ON)
3233
{% else %}
3334
add_library({{ object_name }}
3435
{% for lang in languages %}

0 commit comments

Comments
 (0)