aboutsummaryrefslogtreecommitdiffstats
path: root/bindings
diff options
context:
space:
mode:
authorKevin Rocard <kevin.rocard@intel.com>2015-02-16 12:09:17 +0100
committerKevin Rocard <kevin.rocard@intel.com>2015-02-16 13:36:14 +0100
commit67e1b82805fb5e1be2bd09e929f39e7e8fa1c7d9 (patch)
tree84c026f85bd48210e0b381633c4e6b1e267bcae9 /bindings
parent8a71db40e7e90829eb4b1db40f1eda7954d09489 (diff)
downloadexternal_parameter-framework-67e1b82805fb5e1be2bd09e929f39e7e8fa1c7d9.zip
external_parameter-framework-67e1b82805fb5e1be2bd09e929f39e7e8fa1c7d9.tar.gz
external_parameter-framework-67e1b82805fb5e1be2bd09e929f39e7e8fa1c7d9.tar.bz2
Low case cmake command in bindings for consistency
Some cmake commands were in big case in the python binding cmake. As all others are in low case, put everything in low case. Signed-off-by: Kevin Rocard <kevin.rocard@intel.com>
Diffstat (limited to 'bindings')
-rw-r--r--bindings/python/CMakeLists.txt20
1 files changed, 10 insertions, 10 deletions
diff --git a/bindings/python/CMakeLists.txt b/bindings/python/CMakeLists.txt
index 1ca4b0c..c159d96 100644
--- a/bindings/python/CMakeLists.txt
+++ b/bindings/python/CMakeLists.txt
@@ -26,25 +26,25 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-FIND_PACKAGE(SWIG REQUIRED)
-INCLUDE(${SWIG_USE_FILE})
+find_package(SWIG REQUIRED)
+include(${SWIG_USE_FILE})
-FIND_PACKAGE(PythonLibs)
-INCLUDE_DIRECTORIES(${PYTHON_INCLUDE_PATH})
+find_package(PythonLibs)
+include_directories(${PYTHON_INCLUDE_PATH})
-INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
+include_directories(${CMAKE_CURRENT_SOURCE_DIR})
-SET_PROPERTY(SOURCE pfw.i PROPERTY CPLUSPLUS ON)
-SET_PROPERTY(SOURCE pfw.i PROPERTY SWIG_FLAGS "-Wall" "-Werror")
+set_property(SOURCE pfw.i PROPERTY CPLUSPLUS ON)
+set_property(SOURCE pfw.i PROPERTY SWIG_FLAGS "-Wall" "-Werror")
-SWIG_ADD_MODULE(PyPfw python pfw.i)
-SWIG_LINK_LIBRARIES(PyPfw parameter ${PYTHON_LIBRARIES})
+swig_add_module(PyPfw python pfw.i)
+swig_link_libraries(PyPfw parameter ${PYTHON_LIBRARIES})
include(FindPythonLibs)
if(NOT PYTHONLIBS_FOUND)
message(SEND_ERROR "python librarires not found. please instal python
development packages")
-endif(NOT PYTHONLIBS_FOUND)
+endif()
include_directories(${PROJECT_SOURCE_DIR}/parameter/include ${PYTHON_INCLUDE_DIRS})