fix
This commit is contained in:
parent
317a524cd6
commit
055d6cfb01
@ -12,9 +12,9 @@ set(CMAKE_ASM_COMPILER /usr/bin/clang-10)
|
||||
set(CMAKE_AR /usr/bin/llvm-ar-10)
|
||||
|
||||
set(CMAKE_FIND_ROOT_PATH /usr/lib/aarch64-linux-gnu)
|
||||
set(CMAKE_SYSROOT /usr/lib/aarch64-linux-gnu)
|
||||
set(OPENSSL_INCLUDE_DIR /usr/include/openssl)
|
||||
include_directories("/usr/include/openssl")
|
||||
#set(CMAKE_SYSROOT /usr/lib/aarch64-linux-gnu)
|
||||
#set(OPENSSL_INCLUDE_DIR /usr/include/openssl)
|
||||
#include_directories("/usr/include/openssl")
|
||||
|
||||
|
||||
# Set various compiler flags
|
||||
@ -25,12 +25,12 @@ set(CMAKE_CXX_FLAGS_INIT "-stdlib=libc++")
|
||||
|
||||
|
||||
# Use our definitions for compiler tools
|
||||
SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
|
||||
#SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
|
||||
|
||||
# Search for libraries and headers in the target directories only
|
||||
SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
|
||||
SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
|
||||
SET(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)
|
||||
#SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
|
||||
#SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
|
||||
#SET(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)
|
||||
|
||||
# This must be set or compiler checks fail when linking
|
||||
set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY)
|
||||
|
Loading…
Reference in New Issue
Block a user