From 54ea98b0a9a9c30fbe7ec05539d1795ed6385979 Mon Sep 17 00:00:00 2001 From: Maarten ter Huurne Date: Mon, 5 Dec 2011 05:39:41 +0100 Subject: [PATCH] Refer to the wxWidgets libary as "wx" instead of its full path name. This ensures that additional library dependencies declared for "wx" using target_link_libraries() are applied. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 416637e580..9e84217892 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -442,7 +442,7 @@ if(NOT DISABLE_WX) include_directories(Externals/wxWidgets3) include_directories(Externals/wxWidgets3/include) add_subdirectory(Externals/wxWidgets3) - set(wxWidgets_LIBRARIES "${CMAKE_BINARY_DIR}/Externals/wxWidgets3/libwx.a") + set(wxWidgets_LIBRARIES "wx") else() include_directories(Externals/wxWidgets/include) add_subdirectory(Externals/wxWidgets)