Browse Source

HPCC-14915 Set USE_OPTIONAL to OFF if building a plugin

Signed-off-by: Michael Gardner <michael.gardner@lexisnexis.com>
Michael Gardner 9 năm trước cách đây
mục cha
commit
2cad4e3d22
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      cmake_modules/commonSetup.cmake

+ 1 - 0
cmake_modules/commonSetup.cmake

@@ -121,6 +121,7 @@ IF ("${COMMONSETUP_DONE}" STREQUAL "")
         set(CLIENTTOOLS OFF)
         set(PLATFORM OFF)
         set(TEST_PLUGINS OFF)
+        set(USE_OPTIONAL OFF) # Force failure if we can't find the plugin dependencies
     endif()
 
     if(REMBED)