summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authordon bright <hugh.m.bright@gmail.com>2012-01-03 17:21:28 (GMT)
committerdon bright <hugh.m.bright@gmail.com>2012-01-03 17:21:28 (GMT)
commit277c762912818990f3d7e7e57026c844b5cacfba (patch)
treeb3ea81dd2c6656f7bf45100c434c2268adaa951a /tests
parent7a044adfb8f7d9a1e64b72fb9a4a873b0449e4f6 (diff)
changes to enable building on NetBSD
Diffstat (limited to 'tests')
-rw-r--r--tests/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index cdcc0c0..cdbba3d 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -219,6 +219,11 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
set(FLEX_EXECUTABLE /usr/local/bin/flex)
endif()
+if(${CMAKE_SYSTEM_NAME} MATCHES "NetBSD")
+ include_directories(/usr/pkg/include)
+ set(FLEX_EXECUTABLE /usr/pkg/bin/flex)
+endif()
+
find_package(FLEX REQUIRED)
# The COMPILE_FLAGS and forced C++ compiler is just to be compatible with qmake
if (WIN32)
contact: Jan Huwald // Impressum