view Plugins/Samples/WebSkeleton/CMakeLists.txt @ 2456:cbb8deaacdf7

Fix static build on CentOS 6
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 03 Jan 2018 20:25:35 +0100
parents a412ad57f0f9
children
line wrap: on
line source

cmake_minimum_required(VERSION 2.8)

project(WebSkeleton)

SET(STANDALONE_BUILD ON CACHE BOOL "Standalone build (all the resources are embedded, necessary for releases)")
SET(RESOURCES_ROOT ${CMAKE_SOURCE_DIR}/StaticResources)

set(SAMPLES_ROOT ${CMAKE_SOURCE_DIR}/..)
include(${SAMPLES_ROOT}/Common/OrthancPlugins.cmake)

include(Framework/Framework.cmake)

add_library(WebSkeleton SHARED 
  ${AUTOGENERATED_SOURCES}
  )