From 27476dabd91bf30720b35e412457a945abf4cbab Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Thu, 16 Oct 2003 19:15:44 -0400 Subject: ENH: Enable test on windows --- Source/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt index 3053f6a..3585125 100644 --- a/Source/CMakeLists.txt +++ b/Source/CMakeLists.txt @@ -361,7 +361,7 @@ IF(BUILD_TESTING) objc++) ENDIF (APPLE) - IF (CMAKE_WXWINDOWS_WXCONFIG_EXECUTABLE) + IF (CMAKE_WXWINDOWS_WXCONFIG_EXECUTABLE OR WXWINDOWS_INCLUDE_DIR) # Will be set if the wxwindows gui is on ADD_TEST(UseWX ${EXECUTABLE_OUTPUT_PATH}/cmaketest ${CMake_SOURCE_DIR}/Tests/UseWX @@ -370,7 +370,7 @@ IF(BUILD_TESTING) ${CMake_BINARY_DIR}/Tests/UseWX UsewxWindows CMAKE_ARGS -DCMAKE_WXWINDOWS_WXCONFIG_EXECUTABLE:FILEPATH=${CMAKE_WXWINDOWS_WXCONFIG_EXECUTABLE}) - ENDIF (CMAKE_WXWINDOWS_WXCONFIG_EXECUTABLE) + ENDIF (CMAKE_WXWINDOWS_WXCONFIG_EXECUTABLE OR WXWINDOWS_INCLUDE_DIR) IF(UNIX) IF("x${CMAKE_INSTALL_PREFIX}" MATCHES "^x${CMake_BINARY_DIR}/Tests/TestInstall/Prefix$") -- cgit v0.12