$OpenBSD: patch-CMakeLists_txt,v 1.2 2019/05/10 06:20:18 bcallah Exp $

Install to a better location.

Index: CMakeLists.txt
--- CMakeLists.txt.orig
+++ CMakeLists.txt
@@ -174,7 +174,7 @@ include_directories(${COREINCS})
 
 # Build core sources first as an object library
 # this can then be reused in tests and main executable to speed things up
-add_library(openomf_core OBJECT ${OPENOMF_SRC})
+add_library(openomf_core STATIC ${OPENOMF_SRC})
 set(CORELIBS openomf_core ${CORELIBS})
 
 # Build the game binary
@@ -263,6 +263,6 @@ install(TARGETS openomf
     COMPONENT Binaries
 )
 install(FILES resources/openomf.bk resources/openomf_icon.png
-    DESTINATION share/games/openomf/
+    DESTINATION share/openomf/
     COMPONENT Data
 )
