diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-04-22 13:13:07 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-04-22 13:13:07 (GMT) |
commit | b663e221da5f765c9d77d9d30c253787263625e6 (patch) | |
tree | 51def914c855dc9adbcb63f4132ec05dd773e201 /Tests/Java/CMakeLists.txt | |
parent | 57c535a2cbcfdff3cf4738b52f682de5769413dc (diff) | |
download | CMake-b663e221da5f765c9d77d9d30c253787263625e6.zip CMake-b663e221da5f765c9d77d9d30c253787263625e6.tar.gz CMake-b663e221da5f765c9d77d9d30c253787263625e6.tar.bz2 |
ENH: fix in source build for vs ide
Diffstat (limited to 'Tests/Java/CMakeLists.txt')
-rw-r--r-- | Tests/Java/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/Java/CMakeLists.txt b/Tests/Java/CMakeLists.txt index 8acfbb8..26be60c 100644 --- a/Tests/Java/CMakeLists.txt +++ b/Tests/Java/CMakeLists.txt @@ -1,6 +1,11 @@ PROJECT(hello Java) SET(CMAKE_VERBOSE_MAKEFILE 1) + SET(OLD_CUSTOM_COMMAND_WAY ) +message("${hello_SOURCE_DIR} STREQUAL ${hello_BINARY_DIR}") +IF("${hello_SOURCE_DIR}" STREQUAL "${hello_BINARY_DIR}") + SET(OLD_CUSTOM_COMMAND_WAY 1) +ENDIF("${hello_SOURCE_DIR}" STREQUAL "${hello_BINARY_DIR}") IF(NOT OLD_CUSTOM_COMMAND_WAY) INCLUDE_DIRECTORIES(${hello_SOURCE_DIR} ${hello_BINARY_DIR} ) |