File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -17,8 +17,7 @@ set (PCLSYNC_PATH ${CMAKE_SOURCE_DIR}/lib/pclsync)
17
17
set (MBEDTLS_PATH ${CMAKE_SOURCE_DIR} /lib/mbedtls )
18
18
set (SQLITE3_PATH ${CMAKE_SOURCE_DIR} /lib/sqlite )
19
19
20
- set (CMAKE_INSTALL_LOCAL_ONLY ON )
21
- add_subdirectory (${MBEDTLS_PATH} )
20
+ #add_subdirectory(${MBEDTLS_PATH})
22
21
23
22
include_directories (${SQLITE3_PATH} )
24
23
# add_custom_target(
@@ -40,6 +39,12 @@ add_custom_target(
40
39
WORKING_DIRECTORY ${PCLSYNC_PATH}
41
40
)
42
41
42
+ add_custom_target (
43
+ mbedtls
44
+ COMMAND cmake . && make
45
+ WORKING_DIRECTORY ${MBEDTLS_PATH}
46
+ )
47
+
43
48
set (OVERLAY_CLENT_PATH ${CMAKE_SOURCE_DIR} /lib/poverlay_linux )
44
49
include_directories (${OVERLAY_CLENT_PATH} )
45
50
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 2.6)
2
2
project (MBEDTLS C )
3
3
4
4
string (REGEX MATCH "Clang" CMAKE_COMPILER_IS_CLANG "${CMAKE_C_COMPILER_ID} " )
5
-
5
+ set ( CMAKE_INSTALL_LOCAL_ONLY ON )
6
6
if (CMAKE_COMPILER_IS_GNUCC )
7
7
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -W -Wdeclaration-after-statement -Wwrite-strings -Wlogical-op" )
8
8
set (CMAKE_C_FLAGS_RELEASE "-O2" )
You can’t perform that action at this time.
0 commit comments