MicroBlock před 7 měsíci
rodič
revize
4b0acbed92
1 změnil soubory, kde provedl 2 přidání a 3 odebrání
  1. 2 3
      packages/r/reflect-cpp/xmake.lua

+ 2 - 3
packages/r/reflect-cpp/xmake.lua

@@ -120,10 +120,9 @@ package("reflect-cpp")
             table.insert(configs, "-DREFLECTCPP_UBJSON=" .. (package:config("ubjson") and "ON" or "OFF"))
             table.insert(configs, "-DREFLECTCPP_UBJSON=" .. (package:config("ubjson") and "ON" or "OFF"))
             table.insert(configs, "-DREFLECTCPP_YAML=" .. (package:config("yaml") and "ON" or "OFF"))
             table.insert(configs, "-DREFLECTCPP_YAML=" .. (package:config("yaml") and "ON" or "OFF"))
             import("package.tools.cmake").install(package, configs)
             import("package.tools.cmake").install(package, configs)
-        else
-            os.rm("include/thirdparty")
-            os.cp("include", package:installdir())
         end
         end
+        os.rm("include/thirdparty")
+        os.cp("include", package:installdir())
     end)
     end)
 
 
     on_test(function (package)
     on_test(function (package)