Skip to content

Commit

Permalink
update clasp
Browse files Browse the repository at this point in the history
  • Loading branch information
rkaminsk committed May 4, 2022
1 parent 9096fc2 commit 13f305a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion clasp
7 changes: 1 addition & 6 deletions libclingo/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ set(source
${source-group})
# ]]]

list(APPEND header "${CLASP_SOURCE_DIR}/app/clasp_app.h")
list(APPEND source "${CLASP_SOURCE_DIR}/app/clasp_app.cpp")

set(clingo_public_scope_ PUBLIC)
set(clingo_private_scope_ PRIVATE)
if (CLINGO_BUILD_SHARED)
Expand All @@ -60,9 +57,7 @@ target_link_libraries(libclingo ${clingo_private_scope_} libgringo libclasp)
target_include_directories(libclingo
${clingo_public_scope_}
"$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>"
"$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>"
${clingo_private_scope_}
"$<BUILD_INTERFACE:${CLASP_SOURCE_DIR}/app>")
"$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>")
target_compile_definitions(libclingo ${clingo_private_scope_} CLINGO_BUILD_LIBRARY)

if (NOT CLINGO_BUILD_SHARED)
Expand Down
2 changes: 1 addition & 1 deletion libclingo/clingo/clingo_app.hh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#ifndef CLINGO_CLINGOAPP_HH
#define CLINGO_CLINGOAPP_HH

#include "clasp_app.h"
#include <clasp/cli/clasp_app.h>
#include "clingo/clingocontrol.hh"

namespace Gringo {
Expand Down

0 comments on commit 13f305a

Please sign in to comment.