--- a/src/js/CMakeLists.txt
+++ b/src/js/CMakeLists.txt
@@ -24,7 +24,7 @@
     ${JS_PATH}/worker-bootstrap.js
 )
 
-set(CUSTOM_QJSC "${CMAKE_CURRENT_BINARY_DIR}/qjsc" CACHE STRING "Custom path to QJSC")
+set(CUSTOM_QJSC "qjsc" CACHE STRING "Custom path to QJSC")
 add_custom_command(
     COMMAND
         ${CUSTOM_QJSC}
