diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-07-30 17:14:14 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-07-30 17:14:14 (GMT) |
commit | de16c3b9269810922abf296eb71d912c85502a6b (patch) | |
tree | 1c5977aade2a8b1b41f950b6274567e43c385766 /Source/WXDialog | |
parent | cd94e07884392ec70f11336025efce5083688c60 (diff) | |
download | CMake-de16c3b9269810922abf296eb71d912c85502a6b.zip CMake-de16c3b9269810922abf296eb71d912c85502a6b.tar.gz CMake-de16c3b9269810922abf296eb71d912c85502a6b.tar.bz2 |
ENH: Revert back
Diffstat (limited to 'Source/WXDialog')
-rw-r--r-- | Source/WXDialog/CMakeLists.txt | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Source/WXDialog/CMakeLists.txt b/Source/WXDialog/CMakeLists.txt index 8633452..ada99de 100644 --- a/Source/WXDialog/CMakeLists.txt +++ b/Source/WXDialog/CMakeLists.txt @@ -1,7 +1,6 @@ INCLUDE (${CMAKE_ROOT}/Modules/FindwxWindows.cmake) -IF ( WXWINDOWS_FOUND ) - INCLUDE(${CMAKE_ROOT}/Modules/Use_wxWindows.cmake) +IF ( CMAKE_WX_CAN_COMPILE ) SET( WX_SRCS cmWXCacheProperty.cxx @@ -62,12 +61,12 @@ IF ( WXWINDOWS_FOUND ) IF(BUILD_TESTING) ADD_TEST(wxCMakeSetupRunTest - ${EXECUTABLE_OUTPUT_PATH}/wxCMakeSetup + ${CMake_BINARY_DIR}/Source/wxCMakeSetup -Q -A:ON -B:${CMake_BINARY_DIR}/Tests/Simple -H:${CMake_SOURCE_DIR}/Tests/Simple) ENDIF(BUILD_TESTING) -ELSE ( WXWINDOWS_FOUND ) +ELSE ( CMAKE_WX_CAN_COMPILE ) MESSAGE("Cannot find wxWindows libraries and/or header files") -ENDIF ( WXWINDOWS_FOUND ) +ENDIF ( CMAKE_WX_CAN_COMPILE ) |