1 diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt
2 index d4e77a8..5d36314 100644
3 --- a/core/CMakeLists.txt
4 +++ b/core/CMakeLists.txt
5 @@ -15,7 +15,8 @@ set(LIBJSONNET_HEADERS
11 + ../third_party/md5/md5.h)
15 @@ -26,12 +27,13 @@ set(LIBJSONNET_SOURCE
21 + ../third_party/md5/md5.cpp)
23 if (BUILD_SHARED_BINARIES)
24 add_library(libjsonnet ${LIBJSONNET_HEADERS} ${LIBJSONNET_SOURCE})
25 -add_dependencies(libjsonnet md5 stdlib)
26 -target_link_libraries(libjsonnet md5 nlohmann_json::nlohmann_json)
27 +add_dependencies(libjsonnet stdlib)
28 +target_link_libraries(libjsonnet nlohmann_json::nlohmann_json)
30 file(STRINGS ${CMAKE_CURRENT_SOURCE_DIR}/../include/libjsonnet.h JSONNET_VERSION_DEF
31 REGEX "[#]define[ \t]+LIB_JSONNET_VERSION[ \t]+")
32 @@ -54,8 +56,8 @@ endif()
33 if (BUILD_STATIC_LIBS)
34 # Static library for jsonnet command-line tool.
35 add_library(libjsonnet_static STATIC ${LIBJSONNET_SOURCE})
36 - add_dependencies(libjsonnet_static md5 stdlib)
37 - target_link_libraries(libjsonnet_static md5 nlohmann_json::nlohmann_json)
38 + add_dependencies(libjsonnet_static stdlib)
39 + target_link_libraries(libjsonnet_static nlohmann_json::nlohmann_json)
40 set_target_properties(libjsonnet_static PROPERTIES OUTPUT_NAME jsonnet)
41 install(TARGETS libjsonnet_static DESTINATION "${CMAKE_INSTALL_LIBDIR}")