tpaviot/oce — Issue #237: Enabling testing requires to recompile OCE
Author: tpaviot
Created: 2012-01-19 10:33:53+00:00
State: open

If OCE was compiled without 'ENABLE_TESTING' enabled (because I forgot to click the test box from cmake-gui, for instance), then enabling testing will cause the complete library to recompile.

I think this is because the OCE/test/CMakeLists.txt adds an include directory: `INCLUDE_DIRECTORIES(${GTEST_ROOT}/include ${GTEST_ROOT})`. This may impact the whole compilation. We should find a way to add this include directory only for that subfolder.