summaryrefslogtreecommitdiff
path: root/examples/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'examples/CMakeLists.txt')
-rw-r--r--examples/CMakeLists.txt21
1 files changed, 0 insertions, 21 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
index d5365281..d2176c91 100644
--- a/examples/CMakeLists.txt
+++ b/examples/CMakeLists.txt
@@ -6,27 +6,6 @@ find_package(Threads REQUIRED)
# ...
-# common
-
-set(TARGET common)
-
-add_library(${TARGET} OBJECT
- common.h
- common.cpp
- console.h
- console.cpp
- grammar-parser.h
- grammar-parser.cpp
- )
-
-if (BUILD_SHARED_LIBS)
- set_target_properties(${TARGET} PROPERTIES POSITION_INDEPENDENT_CODE ON)
-endif()
-
-target_include_directories(${TARGET} PUBLIC .)
-target_compile_features(${TARGET} PUBLIC cxx_std_11)
-target_link_libraries(${TARGET} PRIVATE llama)
-
# examples
include_directories(${CMAKE_CURRENT_SOURCE_DIR})