summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <bjorn@lindeijer.nl>2024-03-30 20:44:45 +0100
committerThorbjørn Lindeijer <bjorn@lindeijer.nl>2024-04-08 16:29:46 +0200
commit0e493346b8ca9842946343ef43af1fbe2fd85fce (patch)
tree40361bcfb687af76a919b51a90305ba4c7e8cb5e /CMakeLists.txt
parentdc99410902b9eade9e408389e49f09d5163b6caf (diff)
downloadmana-0e493346b8ca9842946343ef43af1fbe2fd85fce.tar.gz
mana-0e493346b8ca9842946343ef43af1fbe2fd85fce.tar.bz2
mana-0e493346b8ca9842946343ef43af1fbe2fd85fce.tar.xz
mana-0e493346b8ca9842946343ef43af1fbe2fd85fce.zip
Resolved issues with winver.h
The configured file wasn't actually being used, because it was not in the include path. Instead, a checked in version was used. In addition, winver.h is an existing Windows header, which was conflicting with the generated file. Instead, now mana.rc itself is configured. We didn't actually need winver.h anywhere else, anyway.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt1
1 files changed, 0 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 756a823f..889d8482 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -33,7 +33,6 @@ IF (WIN32)
SET(PKG_DATADIR ".")
SET(PKG_BINDIR ".")
SET(LOCALEDIR ".")
- CONFIGURE_FILE(src/winver.h.in src/winver.h)
ELSE (WIN32)
SET(PKG_DATADIR ${CMAKE_INSTALL_PREFIX}/share/mana CACHE PATH "Mana datadir")
SET(LOCALEDIR ${CMAKE_INSTALL_PREFIX}/share/locale)