]> git.lyx.org Git - features.git/blobdiff - src/CMakeLists.txt
Cmake build:
[features.git] / src / CMakeLists.txt
index 5862136f017521e36c8bd68b13f6eab9e7a13300..57c418b2a3b739dea559f04e30de04dffac3ccac 100644 (file)
@@ -31,13 +31,15 @@ list(REMOVE_ITEM lyx_sources
        ${TOP_SRC_DIR}/src/lyxinsets.cpp
        ${TOP_SRC_DIR}/src/lyxmathed.cpp)
 
+set_property(SOURCE "${TOP_SRC_DIR}/src/version.cpp" APPEND PROPERTY COMPILE_DEFINITIONS  LYX_DATE="${LYX_DATE}")
+
 list(REMOVE_ITEM lyx_headers
        ${TOP_SRC_DIR}/src/Variables.h
        ${TOP_SRC_DIR}/src/Section.h)
 
 if(NOT APPLE)
        list(REMOVE_ITEM lyx_sources ${TOP_SRC_DIR}/src/AppleSpellChecker.cpp)
-       list(REMOVE_ITEM lyx_headers ${TOP_SRC_DIR}/src/AppleSpellChecker.h)
+
 endif()
 
 if(NOT ASPELL_FOUND)