-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Add check to see if boost is available
- Loading branch information
1 parent
1f27c96
commit d74cecf
Showing
3 changed files
with
21 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// | ||
// Created by Sindre Nistad on 23/01/2024. | ||
// | ||
|
||
#ifndef BOOST_FILESYSTEM_HPP | ||
#define BOOST_FILESYSTEM_HPP | ||
|
||
#if __has_include(<boost/filesystem.hpp>) | ||
// The helper methods that depend on boost::filesystem, is not used by the main | ||
// gaussianfft library, but som of the debug functionallity use them | ||
#include <boost/filesystem.hpp> | ||
#define HAS_BOOST_FILESYSTEM 1 | ||
#endif | ||
|
||
#endif //BOOST_FILESYSTEM_HPP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters