Fix Java examples (#8484)
authorAndres Noetzli <andres.noetzli@gmail.com>
Thu, 31 Mar 2022 14:38:11 +0000 (07:38 -0700)
committerGitHub <noreply@github.com>
Thu, 31 Mar 2022 14:38:11 +0000 (14:38 +0000)
This fixes the Java examples. The examples were not able the find the
`cvc5::cvc5jar` target because the namespace had accidentally been
changed to `cvc5::internal::` in commit
bbcd471ed40c813c48957ced5596471cc0ccebe9. This reverts that change.

src/api/java/CMakeLists.txt

index 79a95bd57c534a22750c78faa3fd8c5baa7d8851..1c2507f3824c72d59783df767a6ab4276e99013a 100644 (file)
@@ -187,7 +187,7 @@ install_jar(cvc5jar DESTINATION share/java)
 
 install_jar_exports(
   TARGETS cvc5jar
-  NAMESPACE cvc5::internal::
+  NAMESPACE cvc5::
   FILE cvc5JavaTargets.cmake
   DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/cvc5
 )