diff --git a/Meta/Lagom/CMakeLists.txt b/Meta/Lagom/CMakeLists.txt index 38fa365895..8b98afadc9 100644 --- a/Meta/Lagom/CMakeLists.txt +++ b/Meta/Lagom/CMakeLists.txt @@ -12,8 +12,10 @@ endif() file(GLOB AK_SOURCES "../../AK/*.cpp") file(GLOB LIBCORE_SOURCES "../../Libraries/LibCore/*.cpp") file(GLOB LIBIPC_SOURCES "../../Libraries/LibIPC/*.cpp") +file(GLOB LIBJS_SOURCES "../../Libraries/LibJS/*.cpp") +file(GLOB LIBJS_SUBDIR_SOURCES "../../Libraries/LibJS/*/*.cpp") -set(SOURCES ${AK_SOURCES} ${LIBCORE_SOURCES} ${LIBIPC_SOURCES}) +set(SOURCES ${AK_SOURCES} ${LIBCORE_SOURCES} ${LIBIPC_SOURCES} ${LIBJS_SOURCES} ${LIBJS_SUBDIR_SOURCES}) include_directories (../../) include_directories (../../Libraries/) @@ -26,3 +28,8 @@ target_link_libraries(TestApp stdc++) add_executable(TestJson TestJson.cpp) target_link_libraries(TestJson lagom) target_link_libraries(TestJson stdc++) + +add_executable(js ../../Userland/js.cpp) +target_link_libraries(js lagom) +target_link_libraries(js stdc++) +target_link_libraries(js pthread)