Skip to content

Commit 0035aa6

Browse files
committed
cmake: fix OpenMP search for Windows
1 parent 17836d4 commit 0035aa6

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
@@ -49,7 +49,7 @@ project(${PROJECT_NAME} ${PROJECT_ARGS})
4949
include(${CMAKE_CURRENT_LIST_DIR}/cmake-module/ide.cmake)
5050
include(${CMAKE_CURRENT_LIST_DIR}/cmake-module/apple.cmake)
5151

52-
if(NOT ${CMAKE_VERSION} VERSION_GREATER "3.26.0")
52+
if(NOT ${CMAKE_VERSION} VERSION_GREATER "3.26.0" OR WIN32)
5353
set(CMAKE_MODULE_PATH
5454
${CMAKE_CURRENT_LIST_DIR}/cmake-module/find-external/OpenMP
5555
${CMAKE_MODULE_PATH})

0 commit comments

Comments
 (0)