summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt2
-rw-r--r--sample/simple-egl/CMakeLists.txt6
2 files changed, 2 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0d7a37a..ad24ccb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -44,5 +44,3 @@ configure_file(libwindowmanager.pc.in libwindowmanager.pc @ONLY)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/libwindowmanager.pc
DESTINATION
${CMAKE_INSTALL_LIBDIR}/pkgconfig)
-
-add_subdirectory(sample/simple-egl)
diff --git a/sample/simple-egl/CMakeLists.txt b/sample/simple-egl/CMakeLists.txt
index d6c6e90..05cfaff 100644
--- a/sample/simple-egl/CMakeLists.txt
+++ b/sample/simple-egl/CMakeLists.txt
@@ -29,13 +29,11 @@ set(CMAKE_CXX_FLAGS "-Wall -fpermissive")
aux_source_directory(src DIR_SRCS)
#head file path
-include_directories(
- include
- ${CMAKE_SOURCE_DIR}/src)
+include_directories(include)
#set extern libraries
SET(LIBRARIES
- ${CMAKE_BINARY_DIR}/src/libwindowmanager.so
+ libwindowmanager.so
libEGL.so
libGLESv2.so
libm.so