Skip to content

Commit

Permalink
Modifying app resource files to ignore non-numeric build string
Browse files Browse the repository at this point in the history
[#53337061]
  • Loading branch information
axelstudios committed Jul 13, 2013
1 parent 932bca9 commit 3299e64
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion openstudiocore/src/openstudio_app/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ CONFIGURE_FILE(AboutBox.hpp.in "${CMAKE_CURRENT_BINARY_DIR}/AboutBox.hpp")

IF( WIN32 )
SET(RC_BUILD_STR "0")
IF( NOT CMAKE_VERSION_BUILD STREQUAL "Unknown" )
IF( NOT CMAKE_VERSION_BUILD MATCHES "([a-zA-Z]+)" )
SET(RC_BUILD_STR "${CMAKE_VERSION_BUILD}")
ENDIF()
CONFIGURE_FILE(OpenStudioApp.rc.in "${CMAKE_CURRENT_BINARY_DIR}/OpenStudioApp.rc")
Expand Down
2 changes: 1 addition & 1 deletion openstudiocore/src/pat_app/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ CONFIGURE_FILE(AboutBox.hpp.in "${CMAKE_CURRENT_BINARY_DIR}/AboutBox.hpp")

IF( WIN32 )
SET(RC_BUILD_STR "0")
IF( NOT CMAKE_VERSION_BUILD STREQUAL "Unknown" )
IF( NOT CMAKE_VERSION_BUILD MATCHES "([a-zA-Z]+)" )
SET(RC_BUILD_STR "${CMAKE_VERSION_BUILD}")
ENDIF()
CONFIGURE_FILE(PatApp.rc.in "${CMAKE_CURRENT_BINARY_DIR}/PatApp.rc")
Expand Down
2 changes: 1 addition & 1 deletion openstudiocore/src/resultsviewer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ CONFIGURE_FILE(AboutBox.hpp.in "${CMAKE_CURRENT_BINARY_DIR}/AboutBox.hpp")
# For Windows set the rc file pointing to the icon file
IF( WIN32 )
SET(RC_BUILD_STR "0")
IF( NOT CMAKE_VERSION_BUILD STREQUAL "Unknown" )
IF( NOT CMAKE_VERSION_BUILD MATCHES "([a-zA-Z]+)" )
SET(RC_BUILD_STR "${CMAKE_VERSION_BUILD}")
ENDIF()
CONFIGURE_FILE(ResultsViewer.rc.in "${CMAKE_CURRENT_BINARY_DIR}/ResultsViewer.rc")
Expand Down
2 changes: 1 addition & 1 deletion openstudiocore/src/runmanager/app/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ CONFIGURE_FILE(AboutBox.hpp.in "${CMAKE_CURRENT_BINARY_DIR}/AboutBox.hpp")
# For Windows set the rc file pointing to the icon file
IF( WIN32 )
SET(RC_BUILD_STR "0")
IF( NOT CMAKE_VERSION_BUILD STREQUAL "Unknown" )
IF( NOT CMAKE_VERSION_BUILD MATCHES "([a-zA-Z]+)" )
SET(RC_BUILD_STR "${CMAKE_VERSION_BUILD}")
ENDIF()
CONFIGURE_FILE(RunManagerUI.rc.in "${CMAKE_CURRENT_BINARY_DIR}/RunManagerUI.rc")
Expand Down

0 comments on commit 3299e64

Please sign in to comment.