Committer:
leothedragon
Date:
Sun Apr 18 15:20:23 2021 +0000
Revision:
0:25fa8795676b
DS

Who changed what in which revision?

UserRevisionLine numberNew contents of line
leothedragon 0:25fa8795676b 1 # ----------------------------------------------------------------------------
leothedragon 0:25fa8795676b 2 # Copyright 2015-2017 ARM Ltd.
leothedragon 0:25fa8795676b 3 #
leothedragon 0:25fa8795676b 4 # SPDX-License-Identifier: Apache-2.0
leothedragon 0:25fa8795676b 5 #
leothedragon 0:25fa8795676b 6 # Licensed under the Apache License, Version 2.0 (the "License");
leothedragon 0:25fa8795676b 7 # you may not use this file except in compliance with the License.
leothedragon 0:25fa8795676b 8 # You may obtain a copy of the License at
leothedragon 0:25fa8795676b 9 #
leothedragon 0:25fa8795676b 10 # http://www.apache.org/licenses/LICENSE-2.0
leothedragon 0:25fa8795676b 11 #
leothedragon 0:25fa8795676b 12 # Unless required by applicable law or agreed to in writing, software
leothedragon 0:25fa8795676b 13 # distributed under the License is distributed on an "AS IS" BASIS,
leothedragon 0:25fa8795676b 14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
leothedragon 0:25fa8795676b 15 # See the License for the specific language governing permissions and
leothedragon 0:25fa8795676b 16 # limitations under the License.
leothedragon 0:25fa8795676b 17 # ----------------------------------------------------------------------------
leothedragon 0:25fa8795676b 18
leothedragon 0:25fa8795676b 19 if(TARGET_LIKE_POSIX)
leothedragon 0:25fa8795676b 20 target_link_libraries(${YOTTA_MODULE_NAME} "-pthread")
leothedragon 0:25fa8795676b 21 set_target_properties(${YOTTA_MODULE_NAME} PROPERTIES
leothedragon 0:25fa8795676b 22 COMPILE_FLAGS " -pthread ")
leothedragon 0:25fa8795676b 23 endif()