fix(cmake): correct way to add definition
This commit is contained in:
parent
7d0252b659
commit
a4979bbf49
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
|||
|
||||
option(WITH_CLUTCHLOG "Define WITH_CLUTCHLOG, whatever the build type." OFF)
|
||||
if(WITH_CLUTCHLOG)
|
||||
add_definitions(-DWITH_CLUTCHLOG)
|
||||
add_compile_definitions(WITH_CLUTCHLOG)
|
||||
endif()
|
||||
|
||||
# Do not build documentation by default.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue