13 lines
561 B
Diff
13 lines
561 B
Diff
diff -Nru allegro-4.4.1.1.orig/CMakeLists.txt allegro-4.4.1.1/CMakeLists.txt
|
|
--- allegro-4.4.1.1.orig/CMakeLists.txt 2010-03-03 11:07:40.000000000 +0100
|
|
+++ allegro-4.4.1.1/CMakeLists.txt 2013-03-01 13:43:32.735559487 +0100
|
|
@@ -218,7 +218,7 @@
|
|
if(CMAKE_COMPILER_IS_GNUCC)
|
|
set(COMPILER_GCC 1)
|
|
set(ALLEGRO_GCC 1)
|
|
- set(WFLAGS "-W -Wall -Wno-unused-parameter")
|
|
+ set(WFLAGS "-W -Wall -Wno-unused-parameter -ldl")
|
|
set(WFLAGS_C_ONLY "-Wdeclaration-after-statement")
|
|
if(STRICT_WARN)
|
|
set(WFLAGS "${WFLAGS} -Werror -Wpointer-arith")
|