comparison CMakeLists.txt @ 826:f2509d3624f6

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 02 Jun 2014 11:40:45 +0200
parents a811bdf8b8eb
children 3d6f9b7d0add
comparison
equal deleted inserted replaced
824:a811bdf8b8eb 826:f2509d3624f6
222 222
223 # Setup precompiled headers for Microsoft Visual Studio 223 # Setup precompiled headers for Microsoft Visual Studio
224 if (${MSVC}) 224 if (${MSVC})
225 set(ORTHANC_SOURCES ${ORTHANC_CORE_SOURCES} ${ORTHANC_SERVER_SOURCES}) 225 set(ORTHANC_SOURCES ${ORTHANC_CORE_SOURCES} ${ORTHANC_SERVER_SOURCES})
226 ADD_VISUAL_STUDIO_PRECOMPILED_HEADERS("PrecompiledHeaders.h" "Core/PrecompiledHeaders.cpp" ORTHANC_SOURCES) 226 ADD_VISUAL_STUDIO_PRECOMPILED_HEADERS("PrecompiledHeaders.h" "Core/PrecompiledHeaders.cpp" ORTHANC_SOURCES)
227 list(APPEND ORTHANC_CORE_SOURCES "Core/PrecompiledHeaders.h") 227 list(APPEND ORTHANC_CORE_SOURCES "Core/PrecompiledHeaders.cpp")
228 endif() 228 endif()
229 229
230 230
231 add_definitions( 231 add_definitions(
232 -DORTHANC_VERSION="${ORTHANC_VERSION}" 232 -DORTHANC_VERSION="${ORTHANC_VERSION}"