From d278cb2d3be7ab401d6aae48fb39cabe8387f622 Mon Sep 17 00:00:00 2001 From: Bryce Harrington Date: Sat, 16 Jan 2016 23:05:58 -0800 Subject: cmake: Fix code style for consistency Indentation to 4 spaces Prefer lower case for functions and macros (bzr r14596) --- CMakeScripts/IncludeJava.cmake | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'CMakeScripts/IncludeJava.cmake') 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) -- cgit v1.2.3