Skip to content

Commit 6208abe

Browse files
committed
cmake: fix comparison
1 parent cb2b21e commit 6208abe

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
@@ -82,7 +82,7 @@ endif()
8282
set(PYTHON_EXPORT_DEPENDENCY ON)
8383
findpython(REQUIRED)
8484

85-
if(NUMPY_VERSION VERSION_LESS "1.16.0")
85+
if(${NUMPY_VERSION} VERSION_LESS "1.16.0")
8686
set(NUMPY_WITH_BROKEN_UFUNC_SUPPORT)
8787
endif()
8888

0 commit comments

Comments
 (0)