File tree Expand file tree Collapse file tree 7 files changed +16
-15
lines changed Expand file tree Collapse file tree 7 files changed +16
-15
lines changed Original file line number Diff line number Diff line change 1212# See the License for the specific language governing permissions and
1313# limitations under the License.
1414
15- cmake_minimum_required (VERSION 2.8 )
15+ cmake_minimum_required (VERSION 3.9 )
1616include (CheckCCompilerFlag)
1717
1818project (IOTJS C)
Original file line number Diff line number Diff line change 3434# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
3535# SOFTWARE.
3636
37- cmake_minimum_required (VERSION 2.8 )
37+ cmake_minimum_required (VERSION 3.9 )
3838
3939if (DEFINED JSonParserGuard)
4040 return ()
Original file line number Diff line number Diff line change 1212# See the License for the specific language governing permissions and
1313# limitations under the License.
1414
15- cmake_minimum_required (VERSION 2.8 )
15+ cmake_minimum_required (VERSION 3.9 )
1616
1717if ("${TARGET_OS} " MATCHES "NUTTX|TIZENRT" )
1818 set (HTTPPARSER_NUTTX_ARG -DNUTTX_HOME=${TARGET_SYSTEMROOT} )
Original file line number Diff line number Diff line change 1212# See the License for the specific language governing permissions and
1313# limitations under the License.
1414
15- cmake_minimum_required (VERSION 2.8 )
15+ cmake_minimum_required (VERSION 3.9 )
1616
1717if (NOT DEFINED PYTHON)
1818 set (PYTHON "python" )
Original file line number Diff line number Diff line change 1212# See the License for the specific language governing permissions and
1313# limitations under the License.
1414
15- cmake_minimum_required (VERSION 2.8 )
15+ cmake_minimum_required (VERSION 3.9 )
1616
1717# Host jerry for snapshot generation
1818set (DEPS_HOST_JERRY deps/jerry-host)
Original file line number Diff line number Diff line change 1212# See the License for the specific language governing permissions and
1313# limitations under the License.
1414
15- cmake_minimum_required (VERSION 2.8 )
15+ cmake_minimum_required (VERSION 3.9 )
1616
1717# Configure external libtuv
1818set (DEPS_TUV deps/libtuv)
@@ -58,13 +58,14 @@ set(TUV_LIBS tuv)
5858
5959if ("${TARGET_OS} " STREQUAL "MOCK" OR
6060 "${TARGET_OS} " STREQUAL "LINUX" )
61- list ( APPEND TUV_LIBS pthread)
61+ target_link_libraries (tuv INTERFACE pthread)
6262elseif ("${TARGET_OS} " STREQUAL "WINDOWS" )
63- list (APPEND TUV_LIBS
64- ws2_32.lib
65- UserEnv.lib
66- advapi32.lib
67- iphlpapi.lib
68- psapi.lib
69- shell32.lib)
63+ target_link_libraries (tuv INTERFACE
64+ ws2_32.lib
65+ UserEnv.lib
66+ advapi32.lib
67+ iphlpapi.lib
68+ psapi.lib
69+ shell32.lib
70+ )
7071endif ()
Original file line number Diff line number Diff line change 1212# See the License for the specific language governing permissions and
1313# limitations under the License.
1414
15- cmake_minimum_required (VERSION 2.8 )
15+ cmake_minimum_required (VERSION 3.9 )
1616
1717set (MODULE_NAME "tls" )
1818
You can’t perform that action at this time.
0 commit comments