diff Plugins/Samples/WebSkeleton/CMakeLists.txt @ 1390:92da9e1c2daa

improvement of samples
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 29 May 2015 17:24:01 +0200
parents f497a72d9f71
children 97268448bdfc
line wrap: on
line diff
--- a/Plugins/Samples/WebSkeleton/CMakeLists.txt	Fri May 29 15:31:46 2015 +0200
+++ b/Plugins/Samples/WebSkeleton/CMakeLists.txt	Fri May 29 17:24:01 2015 +0200
@@ -7,7 +7,8 @@
 
 include(Framework/Framework.cmake)
 
-include_directories(${CMAKE_SOURCE_DIR}/../../Include/)
+set(ORTHANC_ROOT ${CMAKE_SOURCE_DIR}/../../../)
+include(${CMAKE_SOURCE_DIR}/../Common/OrthancPlugins.cmake)
 
 add_library(WebSkeleton SHARED 
   ${AUTOGENERATED_SOURCES}