[TUTORIALS] Fixed TYPO in CMakeLists.txt
This commit is contained in:
@@ -24,7 +24,7 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D__STDC_FORMAT_MACROS -fvisibility=default -std=gnu++14")
|
||||
|
||||
# Tests
|
||||
if(BUILD_TESTS)
|
||||
if(BUILD_TUTORIALS)
|
||||
message(STATUS "Adding C++ tutorials")
|
||||
add_subdirectory(tutorials)
|
||||
endif()
|
||||
|
@@ -64,7 +64,7 @@ class CMakeBuild(build_ext):
|
||||
torch_library_dirs = library_paths(True)
|
||||
cxx11abi = str(int(torch._C._GLIBCXX_USE_CXX11_ABI))
|
||||
cmake_args = ['-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=' + extdir,
|
||||
'-DBUILD_TESTS=OFF',
|
||||
'-DBUILD_TUTORIALS=OFF',
|
||||
'-DBUILD_PYTHON_MODULE=ON',
|
||||
#'-DPYTHON_EXECUTABLE=' + sys.executable,
|
||||
#'-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON,
|
||||
|
Reference in New Issue
Block a user