mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 03:43:06 +00:00
13 lines
472 B
Diff
13 lines
472 B
Diff
diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt
|
|
index 3a52458..872e6c6 100644
|
|
--- a/cpp/CMakeLists.txt
|
|
+++ b/cpp/CMakeLists.txt
|
|
@@ -10,6 +10,7 @@ set(LIBJSONNETPP_SOURCE
|
|
|
|
add_library(libjsonnet++ SHARED ${LIBJSONNETPP_HEADERS} ${LIBJSONNETPP_SOURCE})
|
|
add_dependencies(libjsonnet++ jsonnet)
|
|
+target_link_libraries(libjsonnet++ libjsonnet)
|
|
# target_link_libraries(libjsonnet libjsonnet)
|
|
|
|
# CMake prepends CMAKE_SHARED_LIBRARY_PREFIX to shared libraries, so without
|