mirror of https://github.com/status-im/evmc.git
CMake: Install evmc.h header
This commit is contained in:
parent
262211ab68
commit
0f13e0ba18
|
@ -12,6 +12,7 @@ endif()
|
|||
include(cmake/cable/bootstrap.cmake)
|
||||
include(CableCompilerSettings)
|
||||
include(HunterGate)
|
||||
include(GNUInstallDirs)
|
||||
include(defaults/HunterCacheServers)
|
||||
|
||||
# Setup Hunter.
|
||||
|
@ -29,6 +30,8 @@ cable_configure_compiler()
|
|||
add_library(evmc INTERFACE)
|
||||
target_include_directories(evmc INTERFACE include)
|
||||
|
||||
install(DIRECTORY include/evmc DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
|
||||
|
||||
option(EVMC_BUILD_TESTS "Build EVMC tests and test tools" OFF)
|
||||
if(EVMC_BUILD_TESTS)
|
||||
enable_testing()
|
||||
|
|
Loading…
Reference in New Issue