Mercurial > hg > orthanc
changeset 2390:cf0eb76c5e81
fix precompiled headers
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 30 Aug 2017 12:05:49 +0200 |
parents | 88402bd5dbf5 |
children | 233d6eeef799 |
files | CMakeLists.txt Resources/CMake/OrthancFrameworkConfiguration.cmake |
diffstat | 2 files changed, 8 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/CMakeLists.txt Wed Aug 30 11:48:35 2017 +0200 +++ b/CMakeLists.txt Wed Aug 30 12:05:49 2017 +0200 @@ -275,7 +275,8 @@ # content of the "Core" folder, but not OpenSSL, nor DCMTK. add_library(CoreLibrary STATIC - ${ORTHANC_CORE_SOURCES} + ${ORTHANC_CORE_SOURCES_INTERNAL} + ${ORTHANC_CORE_SOURCES_DEPENDENCIES} ${AUTOGENERATED_SOURCES} )
--- a/Resources/CMake/OrthancFrameworkConfiguration.cmake Wed Aug 30 11:48:35 2017 +0200 +++ b/Resources/CMake/OrthancFrameworkConfiguration.cmake Wed Aug 30 12:05:49 2017 +0200 @@ -402,9 +402,7 @@ ## Gathering of all the source code ##################################################################### -set(ORTHANC_CORE_SOURCES - ${ORTHANC_CORE_SOURCES_INTERNAL} - +set(ORTHANC_CORE_SOURCES_DEPENDENCIES ${BOOST_SOURCES} ${CIVETWEB_SOURCES} ${CURL_SOURCES} @@ -426,4 +424,9 @@ # This is the minizip distribution to create ZIP files using zlib ${ORTHANC_ROOT}/Resources/ThirdParty/minizip/ioapi.c ${ORTHANC_ROOT}/Resources/ThirdParty/minizip/zip.c + ) + +set(ORTHANC_CORE_SOURCES + ${ORTHANC_CORE_SOURCES_INTERNAL} + ${ORTHANC_CORE_SOURCES_DEPENDENCIES} )