File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ endif ()
147
147
148
148
# Only generate .def for dll on MSVC and always produce pdb files for debug and release
149
149
if (MSVC )
150
- if (${CMAKE_MAJOR_VERSION} .${CMAKE_MINOR_VERSION} LESS 3.4 )
150
+ if (${CMAKE_MAJOR_VERSION} .${CMAKE_MINOR_VERSION} VERSION_LESS 3.4 )
151
151
set (OpenBLAS_DEF_FILE "${PROJECT_BINARY_DIR} /openblas.def" )
152
152
endif ()
153
153
set (CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} /Zi" )
@@ -173,7 +173,7 @@ endif()
173
173
174
174
# Handle MSVC exports
175
175
if (MSVC AND BUILD_SHARED_LIBS )
176
- if (${CMAKE_MAJOR_VERSION} .${CMAKE_MINOR_VERSION} LESS 3.4 )
176
+ if (${CMAKE_MAJOR_VERSION} .${CMAKE_MINOR_VERSION} VERSION_LESS 3.4 )
177
177
include ("${PROJECT_SOURCE_DIR} /cmake/export.cmake" )
178
178
else ()
179
179
# Creates verbose .def file (51KB vs 18KB)
You can’t perform that action at this time.
0 commit comments