From db883d1d0f6c5a0152fc21f146c06f9c02bb2f88 Mon Sep 17 00:00:00 2001 From: FantasqueX Date: Tue, 3 Dec 2024 19:16:06 +0800 Subject: [PATCH] Improve code readability in CMake integration section (#1574) --- 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.