Skip to content

Commit 446946e

Browse files
authored
Update xmake.lua
1 parent f5027e7 commit 446946e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/e/eastl/xmake.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ endif()]], {plain = true})
3636
io.replace("CMakeLists.txt", "add_subdirectory(test/packages/EABase)", "", {plain = true})
3737
io.replace("CMakeLists.txt", "target_link_libraries(EASTL EABase)", "", {plain = true})
3838
local configs = {"-DEASTL_BUILD_TESTS=OFF", "-DEASTL_BUILD_BENCHMARK=OFF"}
39-
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:debug() and "Debug" or "Release"))
39+
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:is_debug() and "Debug" or "Release"))
4040
if not package:is_plat("windows") then
4141
table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))
4242
end

0 commit comments

Comments
 (0)