Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
vvolkl authored Feb 24, 2020
1 parent 6d1b6d0 commit b164fad
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ set(CMAKE_CXX_STANDARD 14 CACHE STRING "")

#--- Declare options -----------------------------------------------------------
option(tricktrack_documentation "Create doxygen doc target." OFF)
option(tricktrack_profiling "Create profiling binaries." OFF)
option(tricktrack_python "Create python bindings for tricktrack" OFF)
option(tricktrack_logger "Use spdlog for logging" OFF)
option(tricktrack_logger_standalone "Use spdlog standalone (as opposed to in a framework" OFF)
Expand Down Expand Up @@ -85,7 +86,9 @@ add_subdirectory(src)
if(BUILD_TESTING)
add_subdirectory(tests)
endif()
add_subdirectory(profiling)
if(tricktrack_profiling)
add_subdirectory(profiling)
endif()
if (tricktrack_python)
add_subdirectory(python)
endif()
Expand Down

0 comments on commit b164fad

Please sign in to comment.