Fixes for building on OpenBSD.

This commit is contained in:
Julian Smith
2019-08-22 17:35:13 +01:00
parent 138e28fcbe
commit f407785f10
4 changed files with 12 additions and 3 deletions
+4
View File
@@ -521,6 +521,10 @@ include(CheckCXXFeatures)
# ahead of system-installed libs
include_directories(BEFORE ${PROJECT_BINARY_DIR}/simgear)
if(${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")
include_directories("/usr/X11R6/include")
endif()
add_definitions(-DHAVE_CONFIG_H)
# configure a header file to pass some of the CMake settings