File tree Expand file tree Collapse file tree 6 files changed +9
-20
lines changed Expand file tree Collapse file tree 6 files changed +9
-20
lines changed 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 )
38
-
39
37
if (DEFINED JSonParserGuard )
40
38
return ()
41
39
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 )
16
-
17
15
if ("${TARGET_OS} " MATCHES "NUTTX|TIZENRT" )
18
16
set (HTTPPARSER_NUTTX_ARG -DNUTTX_HOME=${TARGET_SYSTEMROOT} )
19
17
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 )
16
-
17
15
if (NOT DEFINED PYTHON )
18
16
set (PYTHON "python" )
19
17
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 )
16
-
17
15
# Host jerry for snapshot generation
18
16
set (DEPS_HOST_JERRY deps/jerry-host )
19
17
ExternalProject_Add (hostjerry
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 )
16
-
17
15
# Configure external libtuv
18
16
set (DEPS_TUV deps/libtuv )
19
17
set (DEPS_TUV_SRC ${ROOT_DIR} /${DEPS_TUV} )
@@ -58,13 +56,14 @@ set(TUV_LIBS tuv)
58
56
59
57
if ("${TARGET_OS} " STREQUAL "MOCK" OR
60
58
"${TARGET_OS} " STREQUAL "LINUX" )
61
- list ( APPEND TUV_LIBS pthread )
59
+ target_link_libraries ( tuv INTERFACE pthread )
62
60
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 )
61
+ target_link_libraries (tuv INTERFACE
62
+ ws2_32.lib
63
+ UserEnv.lib
64
+ advapi32.lib
65
+ iphlpapi.lib
66
+ psapi.lib
67
+ shell32.lib
68
+ )
70
69
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 )
16
-
17
15
set (MODULE_NAME "tls" )
18
16
19
17
if ("${TARGET_OS} " STREQUAL "TIZENRT" )
You can’t perform that action at this time.
0 commit comments