Skip to content

Commit

Permalink
Stupid typo...
Browse files Browse the repository at this point in the history
  • Loading branch information
bilke committed Sep 27, 2012
1 parent 3e5bd33 commit ee45402
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
12 changes: 6 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ set(QT_USE_QTNETWORK true)
set(QT_USE_QTWEBKIT true)
include(${QT_USE_FILE})
add_definitions(${QT_DEFINITIONS})
if(DEFINED FORVERT_APP_VERSION)
add_definitions(-DFV_APP_VERSION="${FORVERT_APP_VERSION")
if(DEFINED FERVOR_APP_VERSION)
add_definitions(-DFV_APP_VERSION="${FERVOR_APP_VERSION")
else()
add_definitions(-DFV_APP_VERSION="1.0")
message(WARNING "No version information for Forvert given (please set FORVERT_APP_VERSION)! Assuming 1.0.")
message(WARNING "No version information for Fervor given (please set FERVOR_APP_VERSION)! Assuming 1.0.")
endif()
if(DEFINED FORVERT_APP_NAME)
add_definitions(-DFV_APP_NAME="${FORVERT_APP_NAME")
if(DEFINED FERVOR_APP_NAME)
add_definitions(-DFV_APP_NAME="${FERVOR_APP_NAME")
else()
add_definitions(-DFV_APP_NAME="App Name")
message(WARNING "No application name for Forvert given (please set FORVERT_APP_NAME)! Assuming 'App Name'.")
message(WARNING "No application name for Fervor given (please set FERVOR_APP_NAME)! Assuming 'App Name'.")
endif()

set(SOURCES
Expand Down
1 change: 1 addition & 0 deletions tests/fvversioncomparatortest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ void FvVersionComparatorTest::testNumbers()
QVERIFY(FvVersionComparator::CompareVersions("1.0.0", "0.0.1") == FvVersionComparator::kDescending);
QVERIFY(FvVersionComparator::CompareVersions("1.0.0", "0.1.0") == FvVersionComparator::kDescending);
QVERIFY(FvVersionComparator::CompareVersions("1.0.0", "0.9.9") == FvVersionComparator::kDescending);
QVERIFY(FvVersionComparator::CompareVersions("0.0.1", "0.0.2") == FvVersionComparator::kAscending);
}

void FvVersionComparatorTest::testPrereleases()
Expand Down

0 comments on commit ee45402

Please sign in to comment.