File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -441,6 +441,9 @@ find_package(jsoncpp)
441
441
find_package (fmt)
442
442
find_package (SQLite3)
443
443
find_package (cpprestsdk)
444
+ # TODO: this is a workaround for #5398, it should not be there for ever
445
+ configure_file ("${PROJECT_SOURCE_DIR} /dependencies/cpprestsdk_char_traits_workaround.hpp" "${PROJECT_BINARY_DIR} /src/cpprestsdk_char_traits_workaround.hpp" COPYONLY )
446
+
444
447
find_package (websocketpp)
445
448
find_package (Boost)
446
449
find_package (geographiclib)
Original file line number Diff line number Diff line change 22
22
# pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
23
23
#endif
24
24
#if __APPLE__
25
- # include " ../../ dependencies/cpprestsdk_char_traits_workaround.hpp"
25
+ # include < cpprestsdk_char_traits_workaround.hpp > // OpenStudio/ dependencies/cpprestsdk_char_traits_workaround.hpp
26
26
#endif
27
27
#define _TURN_OFF_PLATFORM_STRING // cpprestsdk has an ugly macro U() that makes fmt break...
28
28
#include < cpprest/http_listener.h>
Original file line number Diff line number Diff line change 15
15
# pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
16
16
#endif
17
17
#if __APPLE__
18
- # include " ../../.. /dependencies/cpprestsdk_char_traits_workaround.hpp"
18
+ # include < cpprestsdk_char_traits_workaround.hpp > // OpenStudio /dependencies/cpprestsdk_char_traits_workaround.hpp
19
19
#endif
20
20
// Macro U from cpprestsdk is clashing with (cf boost https://github.com/microsoft/cpprestsdk/issues/1214)
21
21
#define _TURN_OFF_PLATFORM_STRING
You can’t perform that action at this time.
0 commit comments