Skip to content

Commit 1fd34db

Browse files
author
Boris Brodski
committedAug 20, 2009
CMake: Checking java compile bugfix
1 parent 26c264c commit 1fd34db

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
 

‎cmake/FindJavaExtended.cmake

+1-2
Original file line numberDiff line numberDiff line change
@@ -279,8 +279,6 @@ ENDIF()
279279

280280

281281
IF(NOT JAVAC_TEST_OK)
282-
SET(JAVAC_TEST_OK "1" CACHE INTERNAL "Javac test passed")
283-
284282
MESSAGE("-- Checking java compile")
285283

286284
SET(JAVAC_TEST_DIR "${PROJECT_BINARY_DIR}/javac-test")
@@ -308,6 +306,7 @@ Javac error message: ${javac_test_err}")
308306
ENDIF()
309307

310308
MESSAGE("-- Checking java compile - ok")
309+
SET(JAVAC_TEST_OK "1" CACHE INTERNAL "Javac test passed")
311310
ENDIF()
312311

313312
# Call cmake default version

0 commit comments

Comments
 (0)
Please sign in to comment.