diff --git a/CMakeLists.txt b/CMakeLists.txt index 507ffb392..77c18f87c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -201,6 +201,10 @@ if( SPIRIT_SKIP_HTST ) add_definitions( "-DSPIRIT_SKIP_HTST" ) message( STATUS ">> Skipping compilation of HTST!" ) endif() +### +if( SPIRIT_BUILD_FOR_JS ) + set( SPIRIT_BUILD_FOR_CXX OFF ) +endif() ####################################################################