cmake: turn off precompiled headers in case of opencv_world builds

This commit is contained in:
Alexander Alekhin
2016-01-15 19:43:24 +03:00
parent 243c513eea
commit c75f9c80c7
2 changed files with 2 additions and 1 deletions

View File

@@ -14,6 +14,7 @@ function(include_one_module m)
endfunction()
if(NOT OPENCV_INITIAL_PASS)
set(ENABLE_PRECOMPILED_HEADERS OFF CACHE INTERNAL "" FORCE)
project(opencv_world)
message(STATUS "Processing WORLD modules...")