mirror of
https://github.com/estkme-group/lpac
synced 2024-07-07 01:07:05 +02:00
building for macOS x86_64
This commit is contained in:
parent
2fae457e23
commit
bbd050e182
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -11,3 +11,4 @@ CTestTestfile.cmake
|
|||
_deps
|
||||
build
|
||||
.vscode*
|
||||
.DS_Store
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
option(LINUX_MINGW32 "Build for windows on Linux" OFF)
|
||||
|
||||
if (APPLE_X86_64)
|
||||
set(CMAKE_OSX_ARCHITECTURES "x86_64")
|
||||
message(STATUS "Building for macOS x86_64")
|
||||
endif()
|
||||
|
||||
if(LINUX_MINGW32)
|
||||
set(CMAKE_SYSTEM_NAME Windows)
|
||||
set(TOOLCHAIN_PREFIX x86_64-w64-mingw32)
|
||||
|
@ -19,6 +24,7 @@ endif()
|
|||
cmake_minimum_required (VERSION 2.8.12)
|
||||
project (lpac)
|
||||
|
||||
|
||||
include_directories(.)
|
||||
add_subdirectory(cjson)
|
||||
add_subdirectory(euicc)
|
||||
|
|
Loading…
Reference in a new issue