File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -205,7 +205,7 @@ minimal ``CMakeLists.txt`` to build it could look as simple as:
205205
206206 add_executable(example-app example-app.cpp)
207207 target_link_libraries(example-app "${TORCH_LIBRARIES}")
208- set_property(TARGET example-app PROPERTY CXX_STANDARD 11 )
208+ set_property(TARGET example-app PROPERTY CXX_STANDARD 14 )
209209
210210 The last thing we need to build the example application is the LibTorch
211211distribution. You can always grab the latest stable release from the `download
Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ on we'll use this ``CMakeLists.txt`` file:
144144
145145 add_executable(dcgan dcgan.cpp)
146146 target_link_libraries(dcgan "${TORCH_LIBRARIES}")
147- set_property(TARGET dcgan PROPERTY CXX_STANDARD 11 )
147+ set_property(TARGET dcgan PROPERTY CXX_STANDARD 14 )
148148
149149 .. note ::
150150
You can’t perform that action at this time.
0 commit comments