~abreu-alexandre/oxide/v8-deprecations

« back to all changes in this revision

Viewing changes to build/cmake/OxideCommonProperties.cmake

  • Committer: Chris Coulson
  • Date: 2016-02-11 17:29:47 UTC
  • Revision ID: chris.coulson@canonical.com-20160211172947-2ttfscoab7fa1gaa
Hopefully fix CMake 2.8 build

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
unset(__LAST_INCLUDEDIR_DEFAULT)
56
56
 
57
57
set(OXIDE_INSTALL_LIBEXECDIR ${CMAKE_INSTALL_LIBDIR}/${OXIDE_PLATFORM_FULLNAME})
 
58
 
 
59
execute_process(
 
60
    COMMAND ${PYTHON} ${CMAKE_SOURCE_DIR}/build/scripts/get-version.py ${OXIDE_PLATFORM}
 
61
    OUTPUT_VARIABLE PROJECT_VERSION
 
62
    RESULT_VARIABLE _RESULT
 
63
    OUTPUT_STRIP_TRAILING_WHITESPACE)
 
64
if(NOT _RESULT EQUAL 0)
 
65
  message(FATAL_ERROR "Failed to get version number")
 
66
endif()