Skip to content

Commit 9ecfa95

Browse files
committed
[cmake] Set IS_DEBUG with asserts enabled
1 parent d18f56c commit 9ecfa95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ if(NOT CMAKE_BUILD_TYPE)
1616
message(FATAL_ERROR "Must set cmake build type.")
1717
endif()
1818

19-
if(${PACKAGE_VERSION} VERSION_LESS "7.0")
19+
if(LLVM_ENABLE_ASSERTIONS)
2020
add_definitions("-DLLVM_DEBUG=DEBUG")
2121
endif()
2222

0 commit comments

Comments
 (0)