git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
7021005
)
Enable objective c++ on apple platforms only
author
CryptoManiac
<balthazar.ad@gmail.com>
Mon, 20 Dec 2021 11:25:50 +0000 (14:25 +0300)
committer
CryptoManiac
<balthazar.ad@gmail.com>
Mon, 20 Dec 2021 11:25:50 +0000 (14:25 +0300)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
f8e2a48
..
a4b6983
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-9,7
+9,12
@@
cmake_minimum_required(VERSION 3.4.1)
## cmake -DBerkeleyDB_INC:STRING=/usr/include -DBerkeleyDB_LIBS:STRING=/usr/lib/aarch64-linux-gnu -DUSE_SSE2 -DUSE_LEVELDB ..
##
-project(novacoin-qt VERSION 0.5.9 LANGUAGES C CXX OBJCXX ASM)
+
+project(novacoin-qt VERSION 0.5.9 LANGUAGES C CXX ASM)
+
+if (APPLE)
+enable_language(OBJCXX)
+endif()
find_program(CCACHE_FOUND ccache)
if(CCACHE_FOUND)