aboutsummaryrefslogtreecommitdiffstats
path: root/modules/websocket.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/websocket.cpp')
-rw-r--r--modules/websocket.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/websocket.cpp b/modules/websocket.cpp
index 9a13ea628..caff2e93a 100644
--- a/modules/websocket.cpp
+++ b/modules/websocket.cpp
@@ -19,7 +19,11 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-/// $CompilerFlags: require_environment("SYSTEM_UTFCPP" "1") -DUSE_SYSTEM_UTFCPP
+/// BEGIN CMAKE
+/// if($ENV{SYSTEM_UTFCPP})
+/// target_compile_definitions(${TARGET} "USE_SYSTEM_UTFCPP")
+/// endif()
+/// END CMAKE
#ifdef USE_SYSTEM_UTFCPP