Mercurial > hg > orthanc
comparison OrthancFramework/SharedLibrary/CMakeLists.txt @ 4117:9286649df279
use of C++11 in the unit tests of the shared library
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 07 Jul 2020 14:23:23 +0200 |
parents | d36b38da5947 |
children | a0c30785b7d7 |
comparison
equal
deleted
inserted
replaced
4115:7d0f42c98419 | 4117:9286649df279 |
---|---|
464 -DLSB_CC=${LSB_CC} | 464 -DLSB_CC=${LSB_CC} |
465 -DLSB_CXX=${LSB_CXX} | 465 -DLSB_CXX=${LSB_CXX} |
466 ) | 466 ) |
467 endif() | 467 endif() |
468 | 468 |
469 if (JSONCPP_CXX11) | |
470 list(APPEND Flags -DUSE_CXX11=1) | |
471 endif() | |
472 | |
469 # Build the unit tests, linking them against the just-created | 473 # Build the unit tests, linking them against the just-created |
470 # "OrthancFramework" library | 474 # "OrthancFramework" library |
471 externalproject_add(UnitTests | 475 externalproject_add(UnitTests |
472 SOURCE_DIR "${CMAKE_SOURCE_DIR}/../UnitTestsSources" | 476 SOURCE_DIR "${CMAKE_SOURCE_DIR}/../UnitTestsSources" |
473 CMAKE_ARGS | 477 CMAKE_ARGS |