mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-26 05:19:06 +08:00
ee9de9fcc4
* [mlpack] Add feature openmp * format manifest * add version stuff * Update ports/mlpack/portfile.cmake * Update versions/m-/mlpack.json
14 lines
296 B
Diff
14 lines
296 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 4dd92f0..bfa697d 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -488,7 +488,7 @@ add_definitions(-DBOOST_TEST_DYN_LINK)
|
|
# }
|
|
# #endif
|
|
if (USE_OPENMP)
|
|
- find_package(OpenMP)
|
|
+ find_package(OpenMP REQUIRED)
|
|
endif ()
|
|
|
|
if (OPENMP_FOUND)
|