From 0f13e0ba1832ae8e4ced229783f03d873c19e02f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Bylica?= Date: Wed, 18 Apr 2018 16:23:07 +0200 Subject: [PATCH] CMake: Install evmc.h header --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5873e1a..c48fd0e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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()