diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt index d84f192d..8391d5b8 100644 --- a/client/CMakeLists.txt +++ b/client/CMakeLists.txt @@ -59,7 +59,7 @@ get_filename_component(PROJECT_TOP "${PROJECT_SOURCE_DIR}/.." ABSOLUTE) add_custom_command( OUTPUT ${CMAKE_BINARY_DIR}/version.c ${CMAKE_BINARY_DIR}/_version.c - COMMAND ${CMAKE_COMMAND} -P + COMMAND ${CMAKE_COMMAND} -D PROJECT_TOP=${PROJECT_TOP} -P ${PROJECT_TOP}/version.cmake ) diff --git a/host/CMakeLists.txt b/host/CMakeLists.txt index 061d1bf7..be1f04a2 100644 --- a/host/CMakeLists.txt +++ b/host/CMakeLists.txt @@ -33,7 +33,7 @@ get_filename_component(PROJECT_TOP "${PROJECT_SOURCE_DIR}/.." ABSOLUTE) add_custom_command( OUTPUT ${CMAKE_BINARY_DIR}/version.c ${CMAKE_BINARY_DIR}/_version.c - COMMAND ${CMAKE_COMMAND} -P + COMMAND ${CMAKE_COMMAND} -D PROJECT_TOP=${PROJECT_TOP} -P ${PROJECT_TOP}/version.cmake ) diff --git a/host/platform/Windows/installer.nsi b/host/platform/Windows/installer.nsi index fe383faa..6fb4e0fe 100644 --- a/host/platform/Windows/installer.nsi +++ b/host/platform/Windows/installer.nsi @@ -134,7 +134,7 @@ Section "-Install" Section1 WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Looking Glass (host)" \ "NoModify" "1" WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Looking Glass (host)" \ - "DisplayVersion" ${VERSION} + "DisplayVersion" ${VERSION} SectionEnd diff --git a/obs/CMakeLists.txt b/obs/CMakeLists.txt index 49baf2fc..550b6fc2 100644 --- a/obs/CMakeLists.txt +++ b/obs/CMakeLists.txt @@ -38,7 +38,7 @@ get_filename_component(PROJECT_TOP "${PROJECT_SOURCE_DIR}/.." ABSOLUTE) add_custom_command( OUTPUT ${CMAKE_BINARY_DIR}/version.c ${CMAKE_BINARY_DIR}/_version.c - COMMAND ${CMAKE_COMMAND} -P + COMMAND ${CMAKE_COMMAND} -D PROJECT_TOP=${PROJECT_TOP} -P ${PROJECT_TOP}/version.cmake )