diff Resources/Samples/RestApi/CMakeLists.txt @ 517:b2b56b4e33b0

simplifications to cmake
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 19 Aug 2013 14:47:03 +0200
parents eb5fb5501569
children
line wrap: on
line diff
--- a/Resources/Samples/RestApi/CMakeLists.txt	Mon Aug 19 13:40:36 2013 +0200
+++ b/Resources/Samples/RestApi/CMakeLists.txt	Mon Aug 19 14:47:03 2013 +0200
@@ -22,8 +22,8 @@
   UPDATE_COMMAND ""
   SOURCE_DIR ${CMAKE_BINARY_DIR}/Orthanc/src/orthanc/
   CMAKE_COMMAND ${CMAKE_COMMAND}
-  CMAKE_ARGS -DSTATIC_BUILD=ON -DSTANDALONE_BUILD=ON -DUSE_DYNAMIC_GOOGLE_LOG=OFF -DUSE_DYNAMIC_SQLITE=OFF -DONLY_CORE_LIBRARY=ON -DENABLE_SSL=OFF ${TOOLCHAIN}
-  BUILD_COMMAND $(MAKE)
+  CMAKE_ARGS -DSTATIC_BUILD=ON -DSTANDALONE_BUILD=ON -DUSE_DYNAMIC_GOOGLE_LOG=OFF -DUSE_DYNAMIC_SQLITE=OFF -DENABLE_SSL=OFF ${TOOLCHAIN}
+  BUILD_COMMAND $(MAKE) CoreLibrary
   INSTALL_COMMAND ""
   BUILD_IN_SOURCE 0
   )