diff options
Diffstat (limited to '')
| -rw-r--r-- | CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 118572c03..dc782e252 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
| @@ -350,6 +350,13 @@ function(create_target_directory_groups target_name) | |||
| 350 | endforeach() | 350 | endforeach() |
| 351 | endfunction() | 351 | endfunction() |
| 352 | 352 | ||
| 353 | # Prevent boost from linking against libs when building | ||
| 354 | add_definitions(-DBOOST_ERROR_CODE_HEADER_ONLY | ||
| 355 | -DBOOST_SYSTEM_NO_LIB | ||
| 356 | -DBOOST_DATE_TIME_NO_LIB | ||
| 357 | -DBOOST_REGEX_NO_LIB | ||
| 358 | ) | ||
| 359 | |||
| 353 | enable_testing() | 360 | enable_testing() |
| 354 | add_subdirectory(externals) | 361 | add_subdirectory(externals) |
| 355 | add_subdirectory(src) | 362 | add_subdirectory(src) |