CMakeLists.txt
changeset 11701 e71435e046a1
parent 11659 71bdf987e41f
child 11740 bb704a0f564d
--- a/CMakeLists.txt	Mon Apr 25 21:12:34 2016 +0200
+++ b/CMakeLists.txt	Mon Apr 25 16:26:02 2016 -0400
@@ -54,7 +54,7 @@
 
 if(BUILD_ENGINE_JS)
     if(NOT CMAKE_TOOLCHAIN_FILE)
-        message(FATAL_ERROR "Missing emscripten toolchain file\nRerun cmake with -DCMAKE_TOOLCHAIN_FILE=${CMAKE_SOURCE_DIR}/cmake_modules/Platform/Emscripten.cmake")
+        message(FATAL_ERROR "Missing emscripten toolchain file\nClean your cache and rerun cmake with -DCMAKE_TOOLCHAIN_FILE=${CMAKE_SOURCE_DIR}/cmake_modules/Platform/Emscripten.cmake")
     endif()
 
     set(BUILD_ENGINE_C ON CACHE STRING "Required for BUILD_ENGINE_JS" FORCE)