We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 951abda + 1ea34ed commit b1d493dCopy full SHA for b1d493d
CMakeLists.txt
@@ -122,6 +122,9 @@ else()
122
option(VOLK_CPU_FEATURES "Volk uses cpu_features" OFF)
123
endif()
124
if (VOLK_CPU_FEATURES)
125
+ if(NOT EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/cpu_features/CMakeLists.txt" )
126
+ message(FATAL_ERROR "cpu_features/CMakeLists.txt not found. Did you forget to git clone recursively?\nFix with: git submodule update --init")
127
+ endif()
128
message(STATUS "Building Volk with cpu_features")
129
set(BUILD_PIC ON CACHE BOOL
130
"Build cpu_features with Position Independent Code (PIC)."
0 commit comments