Skip to content

Commit 145c133

Browse files
committed
Add default build type and validate against default cmake build types
1 parent 700831f commit 145c133

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CMakeLists.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
cmake_minimum_required(VERSION 3.17)
33
project(Torch-TensorRT LANGUAGES CXX)
44

5-
# use c++14
5+
# use c++17
66
set(CMAKE_CXX_STANDARD 17)
77

88
# Build the libraries with -fPIC
@@ -12,6 +12,7 @@ if (DEFINED CMAKE_MODULE_PATH)
1212
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} CACHE PATH "Path to the folder containing finders")
1313
endif()
1414

15+
include(cmake/build_options.cmake)
1516
include(cmake/dependencies.cmake)
1617
include(cmake/paths.cmake)
1718
if(MSVC)

0 commit comments

Comments
 (0)