diff options
author | don bright <hugh.m.bright@gmail.com> | 2012-01-03 17:21:28 (GMT) |
---|---|---|
committer | don bright <hugh.m.bright@gmail.com> | 2012-01-03 17:21:28 (GMT) |
commit | 277c762912818990f3d7e7e57026c844b5cacfba (patch) | |
tree | b3ea81dd2c6656f7bf45100c434c2268adaa951a /tests | |
parent | 7a044adfb8f7d9a1e64b72fb9a4a873b0449e4f6 (diff) |
changes to enable building on NetBSD
Diffstat (limited to 'tests')
-rw-r--r-- | tests/CMakeLists.txt | 5 |
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) |