Skip to content

Commit

Permalink
Build with system jscore lib
Browse files Browse the repository at this point in the history
  • Loading branch information
hjanetzek committed Dec 10, 2018
1 parent a1ffaf1 commit 31ac99b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,9 @@ target_link_libraries(tangram-core
# Add JavaScript implementation.
if(TANGRAM_JSCORE_ENABLED)
if (TANGRAM_USE_JSCORE_STATIC)
target_link_libraries(tangram-core PRIVATE jscore-static)
# target_link_libraries(tangram-core PRIVATE jscore-static)
pkg_check_modules(JSCORE REQUIRED IMPORTED_TARGET javascriptcoregtk-4.0)
target_link_libraries(tangram-core PRIVATE PkgConfig::JSCORE)
else()
target_link_libraries(tangram-core PRIVATE "-framework JavaScriptCore")
endif()
Expand Down

0 comments on commit 31ac99b

Please sign in to comment.