diff options
Diffstat (limited to 'Tests/Java/CMakeLists.txt')
-rw-r--r-- | Tests/Java/CMakeLists.txt | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/Tests/Java/CMakeLists.txt b/Tests/Java/CMakeLists.txt index 8736b74..8acfbb8 100644 --- a/Tests/Java/CMakeLists.txt +++ b/Tests/Java/CMakeLists.txt @@ -2,13 +2,7 @@ PROJECT(hello Java) SET(CMAKE_VERBOSE_MAKEFILE 1) SET(OLD_CUSTOM_COMMAND_WAY ) IF(NOT OLD_CUSTOM_COMMAND_WAY) - CONFIGURE_FILE(${hello_SOURCE_DIR}/CMakeCheckJavaPath.java - ${hello_BINARY_DIR}/CMakeCheckJavaPath.java IMMEDIATE) - EXEC_PROGRAM(${CMAKE_Java_COMPILER} ${hello_BINARY_DIR} - ARGS CMakeCheckJavaPath.java) - EXEC_PROGRAM(${CMAKE_Java_RUNTIME} ${hello_BINARY_DIR} - ARGS CMakeCheckJavaPath OUTPUT_VARIABLE OUT) - INCLUDE_DIRECTORIES(${hello_SOURCE_DIR} ${OUT} + INCLUDE_DIRECTORIES(${hello_SOURCE_DIR} ${hello_BINARY_DIR} ) ADD_LIBRARY(hello A.java HelloWorld.java) ENDIF(NOT OLD_CUSTOM_COMMAND_WAY) |