aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsubtly <subtly@users.noreply.github.com>2014-10-16 21:10:54 +0800
committersubtly <subtly@users.noreply.github.com>2014-10-16 21:10:54 +0800
commit9c691e917fcfd291fcaa3c6aaff8c8242fc50873 (patch)
tree059fc1f57763574b2b0483dd0fb75e41f9a97903
parentdb9b99602e72cccdcb346fb80612a9275ec0a8f8 (diff)
downloaddexon-solidity-9c691e917fcfd291fcaa3c6aaff8c8242fc50873.tar
dexon-solidity-9c691e917fcfd291fcaa3c6aaff8c8242fc50873.tar.gz
dexon-solidity-9c691e917fcfd291fcaa3c6aaff8c8242fc50873.tar.bz2
dexon-solidity-9c691e917fcfd291fcaa3c6aaff8c8242fc50873.tar.lz
dexon-solidity-9c691e917fcfd291fcaa3c6aaff8c8242fc50873.tar.xz
dexon-solidity-9c691e917fcfd291fcaa3c6aaff8c8242fc50873.tar.zst
dexon-solidity-9c691e917fcfd291fcaa3c6aaff8c8242fc50873.zip
add headers to cmake
-rw-r--r--CMakeLists.txt8
1 files changed, 3 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7746613e..cb50cc36 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -6,15 +6,13 @@ aux_source_directory(. SRC_LIST)
set(EXECUTABLE lll)
-# set(CMAKE_INSTALL_PREFIX ../lib)
+file(GLOB HEADERS "*.h")
if(ETH_STATIC)
- add_library(${EXECUTABLE} STATIC ${SRC_LIST})
+ add_library(${EXECUTABLE} STATIC ${SRC_LIST} ${HEADERS})
else()
- add_library(${EXECUTABLE} SHARED ${SRC_LIST})
+ add_library(${EXECUTABLE} SHARED ${SRC_LIST} ${HEADERS})
endif()
-file(GLOB HEADERS "*.h")
-
include_directories(..)
target_link_libraries(${EXECUTABLE} evmface)