|
@@ -6,6 +6,13 @@ project(CTKWidgets)
|
|
|
|
|
|
set(KIT_export_directive "CTK_WIDGETS_EXPORT")
|
|
|
|
|
|
+# add local include directory for FreeBSD
|
|
|
+# (QtOpengl can't find GL/gl.h)
|
|
|
+# actual bug: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195105
|
|
|
+if(CMAKE_SYSTEM_NAME STREQUAL FreeBSD)
|
|
|
+ include_directories("/usr/local/include")
|
|
|
+endif()
|
|
|
+
|
|
|
#
|
|
|
# Add the libraries QtTesting
|
|
|
#
|