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 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
- cmake_minimum_required (VERSION 2.8 )
15
+ cmake_minimum_required (VERSION 3.9 )
16
16
include (CheckCCompilerFlag )
17
17
18
18
project (IOTJS C )
Original file line number Diff line number Diff line change 34
34
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
35
35
# SOFTWARE.
36
36
37
- cmake_minimum_required (VERSION 2.8 )
37
+ cmake_minimum_required (VERSION 3.9 )
38
38
39
39
if (DEFINED JSonParserGuard )
40
40
return ()
Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
- cmake_minimum_required (VERSION 2.8 )
15
+ cmake_minimum_required (VERSION 3.9 )
16
16
17
17
if ("${TARGET_OS} " MATCHES "NUTTX|TIZENRT" )
18
18
set (HTTPPARSER_NUTTX_ARG -DNUTTX_HOME=${TARGET_SYSTEMROOT} )
Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
- cmake_minimum_required (VERSION 2.8 )
15
+ cmake_minimum_required (VERSION 3.9 )
16
16
17
17
if (NOT DEFINED PYTHON )
18
18
set (PYTHON "python" )
Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
- cmake_minimum_required (VERSION 2.8 )
15
+ cmake_minimum_required (VERSION 3.9 )
16
16
17
17
# Host jerry for snapshot generation
18
18
set (DEPS_HOST_JERRY deps/jerry-host )
Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
- cmake_minimum_required (VERSION 2.8 )
15
+ cmake_minimum_required (VERSION 3.9 )
16
16
17
17
# Configure external libtuv
18
18
set (DEPS_TUV deps/libtuv )
@@ -58,13 +58,14 @@ set(TUV_LIBS tuv)
58
58
59
59
if ("${TARGET_OS} " STREQUAL "MOCK" OR
60
60
"${TARGET_OS} " STREQUAL "LINUX" )
61
- list ( APPEND TUV_LIBS pthread )
61
+ target_link_libraries ( tuv INTERFACE pthread )
62
62
elseif ("${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
+ )
70
71
endif ()
Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
- cmake_minimum_required (VERSION 2.8 )
15
+ cmake_minimum_required (VERSION 3.9 )
16
16
17
17
set (MODULE_NAME "tls" )
18
18
You can’t perform that action at this time.
0 commit comments