From b663e221da5f765c9d77d9d30c253787263625e6 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Sat, 22 Apr 2006 09:13:07 -0400 Subject: ENH: fix in source build for vs ide --- Tests/Java/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) 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} ) -- cgit v0.12