fix build error
authorWonsik Jung <sidein@samsung.com>
Sat, 14 Apr 2012 07:38:16 +0000 (16:38 +0900)
committerWonsik Jung <sidein@samsung.com>
Sat, 14 Apr 2012 07:38:16 +0000 (16:38 +0900)
CMakeLists.txt
COREGL.pc.in
debian/compat [new file with mode: 0644]
debian/dirs [new file with mode: 0644]
debian/docs [new file with mode: 0644]

index d7fafdf..6054455 100644 (file)
@@ -13,7 +13,7 @@ INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include)
 ADD_DEFINITIONS("-DPREFIX=\"${PREFIX}\"")
 
 SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} -fvisibility=hidden")
-SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} -g -O2 -fvisibility=hidden -fPIC -Wall -std=c99 -D_COREGL_EMBEDDED_GL")
+SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} -g -O2 -fPIC -Wall -std=c99 -D_COREGL_EMBEDDED_GL")
 SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS}")
 
 SET(CMAKE_SKIP_BUILD_RPATH TRUE)
@@ -30,7 +30,7 @@ SET(SRCS_common src/coregl.c src/coregl_thread_pthread.c src/coregl_trace.c
 #SET(HEADERS_common src/coregl_fastpath.h src/coregl_fastpath_state.h src/coregl.h src/coregl_internal.h src/coregl_thread_pthread.h src/coregl_wrappath.h)
 
 INCLUDE(FindPkgConfig)
-pkg_check_modules(pkg_common REQUIRED x11)
+pkg_check_modules(pkg_common REQUIRED x11 gles20)
 FOREACH(flag ${pkg_common_CFLAGS})
        SET(EXTRA_CFLAGS_common "${EXTRA_CFLAGS_common} ${flag}")
 ENDFOREACH(flag)
index 1022fef..9e2d8b9 100644 (file)
@@ -8,6 +8,6 @@ includedir=@INCLUDEDIR@
 Name: coregl
 Description: SAMSUNG Linux platform application library
 Version: @VERSION@
-Requires: x11
+Requires: x11 gles20
 Libs: -L${libdir} -lcoregl
 Cflags: -I${includedir} -I${includedir}/coregl
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..7ed6ff8
--- /dev/null
@@ -0,0 +1 @@
+5
diff --git a/debian/dirs b/debian/dirs
new file mode 100644 (file)
index 0000000..ca882bb
--- /dev/null
@@ -0,0 +1,2 @@
+usr/bin
+usr/sbin
diff --git a/debian/docs b/debian/docs
new file mode 100644 (file)
index 0000000..a0f0008
--- /dev/null
@@ -0,0 +1 @@
+CMakeLists.txt