summaryrefslogtreecommitdiffstats
path: root/Modules/Use_wxWindows.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/Use_wxWindows.cmake')
-rw-r--r--Modules/Use_wxWindows.cmake14
1 files changed, 7 insertions, 7 deletions
diff --git a/Modules/Use_wxWindows.cmake b/Modules/Use_wxWindows.cmake
index 681fe28..6c95681 100644
--- a/Modules/Use_wxWindows.cmake
+++ b/Modules/Use_wxWindows.cmake
@@ -45,20 +45,20 @@ if(WXWINDOWS_FOUND)
if(WXWINDOWS_INCLUDE_DIR)
include_directories(${WXWINDOWS_INCLUDE_DIR})
- endif(WXWINDOWS_INCLUDE_DIR)
+ endif()
if(WXWINDOWS_LINK_DIRECTORIES)
link_directories(${WXWINDOWS_LINK_DIRECTORIES})
- endif(WXWINDOWS_LINK_DIRECTORIES)
+ endif()
if(WXWINDOWS_LIBRARIES)
link_libraries(${WXWINDOWS_LIBRARIES})
- endif(WXWINDOWS_LIBRARIES)
+ endif()
if (CMAKE_WXWINDOWS_CXX_FLAGS)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CMAKE_WXWINDOWS_CXX_FLAGS}")
- endif(CMAKE_WXWINDOWS_CXX_FLAGS)
+ endif()
if(WXWINDOWS_DEFINITIONS)
add_definitions(${WXWINDOWS_DEFINITIONS})
- endif(WXWINDOWS_DEFINITIONS)
-else(WXWINDOWS_FOUND)
+ endif()
+else()
message(SEND_ERROR "wxWindows not found by Use_wxWindows.cmake")
-endif(WXWINDOWS_FOUND)
+endif()