e65e3c7b3b1b — Vesa Norilo 5 months ago
rename backend settings and default off binaryen to restore buildbots
1 files changed, 4 insertions(+), 4 deletions(-)

M CMakeLists.txt
M CMakeLists.txt +4 -4
@@ 22,9 22,9 @@ if(CURL_FOUND)
 	include_directories($CURL_INCLUDE_DIRS)
 endif()
 
-set(KRONOS_LLVM ON CACHE BOOL "Use LLVM backend")
+set(KRONOS_LLVM_BACKEND ON CACHE BOOL "Use LLVM backend")
 
-if (NOT EMSCRIPTEN AND KRONOS_LLVM)
+if (NOT EMSCRIPTEN AND KRONOS_LLVM_BACKEND)
 	add_subdirectory(src/paf)
 	add_subdirectory(src/pad)
 	set_target_properties( pad paf PROPERTIES FOLDER libs) 

          
@@ 126,9 126,9 @@ set( KRONOS_CORE_SOURCES
 	"src/kronos_abi.h"
 )
 
-set(KRONOS_BINARYEN ON CACHE BOOL "Attempt to use Binaryen")
+set(KRONOS_BINARYEN_BACKEND OFF CACHE BOOL "Attempt to use Binaryen")
 
-if (KRONOS_BINARYEN OR EMSCRIPTEN)
+if (KRONOS_BINARYEN_BACKEND OR EMSCRIPTEN)
 	message(STATUS "Using Binaryen backend")
 	include(cmake/Binaryen.cmake)
 endif()