From d5af46d4178a7bd7cf2af47246039c05f2000a53 Mon Sep 17 00:00:00 2001 From: Letu Ren Date: Tue, 3 Dec 2024 10:05:52 +0800 Subject: [PATCH] Fix cmake integrate --- doc/GSG/integrate.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/GSG/integrate.rst b/doc/GSG/integrate.rst index 13fd679dab..2b38dba246 100644 --- a/doc/GSG/integrate.rst +++ b/doc/GSG/integrate.rst @@ -26,10 +26,10 @@ Integrating oneTBB into your project using CMake*: To add oneTBB to another project using CMake*, add the following commands to your ``CMakeLists.txt`` file: -.. code-block:: +.. code-block:: cmake - `find_package(TBB REQUIRED)` - `target_link_libraries(my_executable TBB::tbb)` + find_package(TBB REQUIRED) + target_link_libraries(my_executable TBB::tbb) After that, configure your project with CMake* as usual.