blob: 7fb86913c5c8033a4bbca6651e88c121e971aad9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$NetBSD: patch-awesomeConfig.cmake,v 1.2 2013/07/22 19:47:18 degroote Exp $
--- awesomeConfig.cmake.orig 2013-04-01 11:44:46.000000000 +0000
+++ awesomeConfig.cmake 2013-07-21 21:05:57.000000000 +0000
@@ -16,7 +16,7 @@
option(GENERATE_DOC "generate API documentation" ON)
# {{{ CFLAGS
-add_definitions(-O1 -std=gnu99 -ggdb3 -rdynamic -fno-strict-aliasing -Wall -Wextra
+add_definitions(-O1 -std=gnu99 -rdynamic -fno-strict-aliasing -Wall -Wextra
-Wchar-subscripts -Wundef -Wshadow -Wcast-align -Wwrite-strings
-Wsign-compare -Wunused -Wno-unused-parameter -Wuninitialized -Winit-self
-Wpointer-arith -Wformat-nonliteral
@@ -153,7 +153,7 @@
endif()
macro(a_find_library variable library)
- find_library(${variable} ${library})
+ find_library(${variable} ${library} PKGPREFIX/lib/ev)
if(NOT ${variable})
message(FATAL_ERROR ${library} " library not found.")
endif()
|