mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 19:39:00 +08:00
5a240bcf92
* [pcl] Always check SSE flags * check sse if sse enabled
14 lines
360 B
Diff
14 lines
360 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index e580b1a..572ea06 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -86,7 +86,7 @@ endif()
|
|
|
|
# check for SSE flags
|
|
include("${PCL_SOURCE_DIR}/cmake/pcl_find_sse.cmake")
|
|
-if(PCL_ENABLE_SSE AND "${CMAKE_CXX_FLAGS}" STREQUAL "${CMAKE_CXX_FLAGS_DEFAULT}")
|
|
+if(PCL_ENABLE_SSE)
|
|
PCL_CHECK_FOR_SSE()
|
|
endif()
|
|
|