diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 712aa714..a6a05501 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,12 +19,10 @@ set(Ledger_TEST_TIMEZONE "America/Chicago") enable_testing() -add_definitions( - -std=c++11 - -DBOOST_FILESYSTEM_NO_DEPRECATED -) +add_compile_definitions(BOOST_FILESYSTEM_NO_DEPRECATED) +add_compile_options(-std=c++11) if (CYGWIN) - add_definitions(-U__STRICT_ANSI__) + add_compile_options(-U__STRICT_ANSI__) endif() ######################################################################## |