瀏覽代碼

HPCC-14915 Set USE_OPTIONAL to OFF if building a plugin

Signed-off-by: Michael Gardner <michael.gardner@lexisnexis.com>
Michael Gardner 9 年之前
父節點
當前提交
2cad4e3d22
共有 1 個文件被更改,包括 1 次插入0 次删除
  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)