view Resources/Samples/OrthancFramework/MicroService/CMakeLists.txt @ 2394:75c779ca948c

fix compilation without Web server
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 30 Aug 2017 16:23:10 +0200
parents 88402bd5dbf5
children
line wrap: on
line source

cmake_minimum_required(VERSION 2.8)

project(Sample)

include(${CMAKE_SOURCE_DIR}/../../../CMake/OrthancFrameworkParameters.cmake)

set(ENABLE_WEB_SERVER ON)

include(${CMAKE_SOURCE_DIR}/../../../CMake/OrthancFrameworkConfiguration.cmake)

add_executable(Sample
  ${ORTHANC_CORE_SOURCES}
  Sample.cpp
  )

include_directories(${ORTHANC_ROOT}/Core)