diff options
author | Hongjun Ni <hongjun.ni@intel.com> | 2019-11-06 06:12:03 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@fd.io> | 2019-11-06 06:12:03 +0000 |
commit | 9c5b99514ec3d9ba6cf61002394de1bd1a9fbdd9 (patch) | |
tree | 37b84ad5b41d6b4315513ac0c074b7bbda7fe5b5 /CMakeLists.txt | |
parent | 4ec2e1124a00cd0f7841042a6d90096c77e0a72b (diff) | |
parent | cac2bd1cefb29e7cc7a6602c7a0780a8c0d2fd86 (diff) |
Merge "enable dpi hw-offload basic feature"
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 7a90506..1c0704b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,7 +11,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -cmake_minimum_required(VERSION 3.0 FATAL_ERROR) +cmake_minimum_required(VERSION 2.8 FATAL_ERROR) project(udpi-plugin) include(GNUInstallDirs) @@ -88,7 +88,7 @@ endif (NOT CMAKE_BUILD_TYPE) SET(UDPI_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR} CACHE STRING "udpi_install_prefix") if (CMAKE_BUILD_TYPE STREQUAL "Release") - set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -Wall -march=native -O3 -g") + set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -Wall -march=native -O3 -g") elseif (CMAKE_BUILD_TYPE STREQUAL "Debug") set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -Wall -march=native -O0 -g") add_definitions(-DCLIB_DEBUG -fPIC -fstack-protector-all) |