summaryrefslogtreecommitdiffstats
path: root/CMakeScripts/IncludeJava.cmake
diff options
context:
space:
mode:
authorBryce Harrington <bryce@bryceharrington.org>2016-01-17 07:05:58 +0000
committerbryce <bryce@bryceharrington.org>2016-01-17 07:05:58 +0000
commitd278cb2d3be7ab401d6aae48fb39cabe8387f622 (patch)
tree1c8f0f3154870a60b28fa58e29b3b95cd04e61a4 /CMakeScripts/IncludeJava.cmake
parentcmake: Cleanup comments a bit (diff)
downloadinkscape-d278cb2d3be7ab401d6aae48fb39cabe8387f622.tar.gz
inkscape-d278cb2d3be7ab401d6aae48fb39cabe8387f622.zip
cmake: Fix code style for consistency
Indentation to 4 spaces Prefer lower case for functions and macros (bzr r14596)
Diffstat (limited to 'CMakeScripts/IncludeJava.cmake')
-rw-r--r--CMakeScripts/IncludeJava.cmake21
1 files changed, 10 insertions, 11 deletions
diff --git a/CMakeScripts/IncludeJava.cmake b/CMakeScripts/IncludeJava.cmake
index 1e20a4ca5..09f2bbea6 100644
--- a/CMakeScripts/IncludeJava.cmake
+++ b/CMakeScripts/IncludeJava.cmake
@@ -1,14 +1,13 @@
# - include the src/javainc dir in the include path and the correct config path too
+include_directories(${CMAKE_SOURCE_DIR}/src/bind/javainc)
-INCLUDE_DIRECTORIES( ${CMAKE_SOURCE_DIR}/src/bind/javainc )
-
-IF (WIN32)
- INCLUDE_DIRECTORIES( ${CMAKE_SOURCE_DIR}/src/bind/javainc/win32 )
-ENDIF (WIN32)
-IF (UNIX)
- INCLUDE_DIRECTORIES( ${CMAKE_SOURCE_DIR}/src/bind/javainc/linux )
-ENDIF (UNIX)
-IF (SOLARIS)
- INCLUDE_DIRECTORIES( ${CMAKE_SOURCE_DIR}/src/bind/javainc/solaris )
-ENDIF (SOLARIS)
+if(WIN32)
+ include_directories(${CMAKE_SOURCE_DIR}/src/bind/javainc/win32)
+endif(WIN32)
+if(UNIX)
+ include_directories(${CMAKE_SOURCE_DIR}/src/bind/javainc/linux)
+endif(UNIX)
+if(SOLARIS)
+ include_directories(${CMAKE_SOURCE_DIR}/src/bind/javainc/solaris)
+endif(SOLARIS)